Clean up
This commit is contained in:
@@ -8,6 +8,9 @@ interface INavigator {
|
|||||||
language: string;
|
language: string;
|
||||||
platform: string;
|
platform: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We're declaring a navigator global here as we expect it in all runtimes (node and browser), but
|
||||||
|
// we want this module to live in common.
|
||||||
declare const navigator: INavigator;
|
declare const navigator: INavigator;
|
||||||
|
|
||||||
const isNode = (typeof navigator === 'undefined') ? true : false;
|
const isNode = (typeof navigator === 'undefined') ? true : false;
|
||||||
|
|||||||
@@ -6,7 +6,5 @@
|
|||||||
"../../node_modules/@types/mocha"
|
"../../node_modules/@types/mocha"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [ "./**/*" ]
|
||||||
"./**/*"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"extends": "../tsconfig-library-base",
|
"extends": "../tsconfig-library-base",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../lib"
|
"outDir": "../../lib",
|
||||||
|
"types": [
|
||||||
|
"../../node_modules/@types/mocha"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [ "./**/*" ],
|
||||||
"./**/*", "../common/Platform.ts"
|
|
||||||
],
|
|
||||||
"references": [
|
"references": [
|
||||||
{ "path": "../common" }
|
{ "path": "../common" }
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user