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:
@ -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));
|
||||
|
Reference in New Issue
Block a user