chore(tsickle): remove redundant jsdoc types

tsickle doesn't like them, and anyway they are bound to get out-of-sync with the inline TS types
This commit is contained in:
Alex Eagle
2016-05-09 15:44:40 -07:00
committed by Martin Probst
parent cf73ad7c8f
commit 9e3df8eefe
6 changed files with 14 additions and 75 deletions

View File

@ -75,7 +75,6 @@ export function clearPendingTimers(): void {
*
* {@example testing/ts/fake_async.ts region='basic'}
*
* @param {number} millis Number of millisecond, defaults to 0
*/
export function tick(millis: number = 0): void {
_getFakeAsyncZoneSpec().tick(millis);

View File

@ -124,9 +124,6 @@ export function resetBaseTestProviders() {
* eventually
* becomes `it('...', @Inject (object: AClass, async: AsyncTestCompleter) => { ... });`
*
* @param {Array} tokens
* @param {Function} fn
* @return {Function}
*/
export function inject(tokens: any[], fn: Function): Function {
let testInjector = getTestInjector();
@ -190,9 +187,6 @@ export function withProviders(providers: () => any) {
* })
* ```
*
* @param {Array} tokens
* @param {Function} fn
* @return {Function}
*/
export function injectAsync(tokens: any[], fn: Function): Function {
return async(inject(tokens, fn));