More fixes for 2.4. Not all for weak types:

2.4 also has been inference for generics, which finds more errors as
well.
This commit is contained in:
Nathan Shively-Sanders
2017-06-19 13:00:47 -07:00
parent 8aff840533
commit 1119ad2d81
7 changed files with 45 additions and 25 deletions

View File

@@ -1846,6 +1846,10 @@ declare namespace angular {
* different in Angular 1 there is no direct mapping and care should be taken when upgrading.
*/
$postLink?(): void;
// IController implementations frequently do not implement any of its methods.
// A string indexer indicates to TypeScript not to issue a weak type error in this case.
[s: string]: any;
}
/**