From e3c6ecce7092778120619bb5cc30d8cf41e4fdd5 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Sun, 8 May 2016 17:27:19 +0200 Subject: [PATCH] chore(facade/collections): update assign type annotation --- src/facade/collections.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/facade/collections.ts b/src/facade/collections.ts index f9f24a0..a1532ce 100644 --- a/src/facade/collections.ts +++ b/src/facade/collections.ts @@ -206,7 +206,7 @@ export class StringMapWrapper { return true; } - static assign( target: T, ...sources: S[] ): T&S { + static assign(target: any, ...sources: any[]): any { if ( !isPresent( target ) ) { throw new TypeError( 'Object.assign cannot be called with null or undefined' ); @@ -362,7 +362,7 @@ export class ListWrapper { return O; }; } - + (list as any).fill( value, start,