wot-gameface-types
v1.0.3
Published
Types definitions for World of Tanks Gameface
Downloads
8
Readme
wot-gameface-types
Types definitions for World of Tanks Gameface
Installation
npm install -D wot-gameface-typesUsage
In your TypeScript project, you can import the types as needed:
/// <reference types="wot-gameface-types" />or import specific types:
/// <reference types="wot-gameface-types/types/engine.d.ts" />
/// <reference types="wot-gameface-types/types/viewEnv.d.ts" />
/// <reference types="wot-gameface-types/types/subViews.d.ts" />Gameface Libs
You can also include types for OpenWG Gameface libraries by virtual path import:
/// <reference types="wot-gameface-types/types/gameface-libs.d.ts" />
import { pxToRem } from 'gameface:common'
import { debugElement } from 'gameface:debug'
import { MediaContext } from 'gameface:media'
import { ModelObserver } from 'gameface:model'
import { playSound } from 'gameface:sound'
import { showTooltip } from 'gameface:views'