diff --git a/src/engine/globals.d.ts b/src/engine/globals.d.ts index fa3d92c4..5a735753 100644 --- a/src/engine/globals.d.ts +++ b/src/engine/globals.d.ts @@ -12,3 +12,9 @@ interface WheelEvent { readonly wheelDeltaY: number; readonly wheelDelta: number; } + +declare const process: { + env: { + __EX_VERSION: string; + }; +}; \ No newline at end of file diff --git a/src/engine/index.ts b/src/engine/index.ts index b47e4277..9925f350 100644 --- a/src/engine/index.ts +++ b/src/engine/index.ts @@ -63,15 +63,7 @@ export { traits as Traits }; // ex.Util namespaces import * as util from './Util/Index'; export { util as Util }; -export { - clamp, - range, - toDegrees, - toRadians, - randomInRange, - randomIntInRange, - canonicalizeAngle -} from './Util/Index'; +export { clamp, range, toDegrees, toRadians, randomInRange, randomIntInRange, canonicalizeAngle } from './Util/Index'; export * from './Util/Browser'; export * from './Util/Decorators'; diff --git a/src/engine/tsconfig.json b/src/engine/tsconfig.json index b5a606cf..deec08df 100644 --- a/src/engine/tsconfig.json +++ b/src/engine/tsconfig.json @@ -22,6 +22,7 @@ "dom", "es5", "es2018" - ] + ], + "types": [] } }