We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7596989 commit f646f4fCopy full SHA for f646f4f
packages/canvas-phaser-ce/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@nativescript/canvas-phaser-ce",
3
- "version": "1.0.0-beta.0",
+ "version": "1.0.0-beta.1",
4
"description": "Tools for using Phaser-ce to build native 2D games in NativeScript 👾",
5
"main": "index",
6
"typings": "index.d.ts",
packages/canvas-phaser-ce/phaser.ts
@@ -1,12 +1,12 @@
-import '@nativescript/canvas-polyfill';
+require('@nativescript/canvas-polyfill');
interface TNSPhaserCe {
PIXI: any;
Phaser: any;
7
}
8
9
-export declare var global: NodeJS.Global & typeof globalThis & TNSPhaserCe;
+export declare var global: TNSPhaserCe;
10
11
12
function initPhaser() {
0 commit comments