mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-13 08:57:26 +08:00
Platform — Fixed declarations
This commit is contained in:
4
platform/index.d.ts
vendored
4
platform/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6",
|
||||
"es2017",
|
||||
"dom"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
|
||||
Reference in New Issue
Block a user