refactor(TypeScript): Add noImplicitAny

We automatically insert explicit 'any's where needed. These need to be
addressed as in #9100.

Fixes #4924
This commit is contained in:
ScottSWu
2016-06-08 15:45:15 -07:00
parent 87d824e1b4
commit 86fbd50c3d
305 changed files with 2338 additions and 2337 deletions

View File

@ -1,7 +1,7 @@
declare var System: any;
(function(global) {
(function(global: any /** TODO #9100 */) {
writeScriptTag('/all/playground/vendor/es6-shim.js');
writeScriptTag('/all/playground/vendor/zone.js');
@ -59,11 +59,11 @@ declare var System: any;
// BOOTSTRAP the app!
System.import('index').then(function(m) { m.main(); }, console.error.bind(console));
System.import('index').then(function(m: any /** TODO #9100 */) { m.main(); }, console.error.bind(console));
}
function writeScriptTag(scriptUrl, onload?) {
function writeScriptTag(scriptUrl: any /** TODO #9100 */, onload?: any /** TODO #9100 */) {
document.write(`<script src="${scriptUrl}" onload="${onload}"></script>`);
}
}(window));