refactor(): use const and let instead of var
This commit is contained in:

committed by
Victor Berchet

parent
73593d4bf3
commit
77ee27c59e
@ -14,6 +14,6 @@ import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
|
||||
class MyApp {
|
||||
}
|
||||
|
||||
var myPlatformFactory = createPlatformFactory(platformBrowserDynamic, 'myPlatform');
|
||||
const myPlatformFactory = createPlatformFactory(platformBrowserDynamic, 'myPlatform');
|
||||
myPlatformFactory().bootstrapModule(MyApp);
|
||||
// #enddocregion
|
||||
|
Reference in New Issue
Block a user