Platform — Fixed declarations

This commit is contained in:
Alexander Abashkin
2017-03-14 18:01:18 +03:00
parent 023bcf3e7a
commit bb8dfc6c47
2 changed files with 3 additions and 3 deletions

4
platform/index.d.ts vendored
View File

@@ -22,9 +22,9 @@ declare interface Platform {
toString?(): string;
}
declare module "platform" {
declare var platform: Platform;
declare var platform: Platform;
declare module "platform" {
export = platform;
}

View File

@@ -2,7 +2,7 @@
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6",
"es2017",
"dom"
],
"noImplicitAny": true,