Skip to content

Commit

Permalink
chore(facade/collections): update assign type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed May 8, 2016
1 parent a7e3d6f commit e3c6ecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/facade/collections.ts
Expand Up @@ -206,7 +206,7 @@ export class StringMapWrapper {
return true;
}

static assign<T,S>( 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' );
Expand Down Expand Up @@ -362,7 +362,7 @@ export class ListWrapper {
return O;
};
}

(list as any).fill(
value,
start,
Expand Down

0 comments on commit e3c6ecc

Please sign in to comment.