joycon-ts-loader
v3.0.2
Published
A TypeScript loader for JoyCon.
Downloads
312
Maintainers
Readme
joycon-ts-loader
A TypeScript loader for JoyCon.
Installation
You need to install TypeScript first.
npm install --save-dev typescript
# or #
yarn add --dev typescript
Then install joycon-ts-loader
.
npm install joycon-ts-loader
# or #
yarn add joycon-ts-loader
Usage
const JoyCon = require('joycon');
const JoyConTSLoader = require('joycon-ts-loader');
const joycon = new JoyCon();
joycon.addLoader(JoyConTSLoader);
joycon.load([/* file... */]);