Skip to content

Commit

Permalink
Allow angular2 to compile with TS --strictNullChecks
Browse files Browse the repository at this point in the history
See angular#8720 for more background.
  • Loading branch information
opensrcken committed May 29, 2016
1 parent 3331321 commit 9d7e7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/@angular/core/src/util/decorators.ts
Expand Up @@ -26,7 +26,7 @@ export interface ClassDefinition {
* Other methods on the class. Note that values should have type 'Function' but TS requires
* all properties to have a narrower type than the index signature.
*/
[x: string]: Type | Function | any[];
[x: string]: Type | Function | any[] | undefined;
}

/**
Expand Down

0 comments on commit 9d7e7b4

Please sign in to comment.