mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 09:04:13 +02:00
export es6 code
This commit is contained in:
parent
877dcef43b
commit
c2e79f552a
2 changed files with 6 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
import {Match} from "./Data/Match";
|
|
||||||
import {BitStream} from 'bit-buffer';
|
import {BitStream} from 'bit-buffer';
|
||||||
import {Parser, MessageType} from './Parser';
|
import {Parser, MessageType} from './Parser';
|
||||||
import {Stream} from "stream";
|
import {Stream} from "stream";
|
||||||
|
import {Buffer} from 'buffer';
|
||||||
|
|
||||||
export class StreamParser extends Parser {
|
export class StreamParser extends Parser {
|
||||||
buffer: Buffer;
|
buffer: Buffer;
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,15 @@
|
||||||
"lib": [
|
"lib": [
|
||||||
"dom",
|
"dom",
|
||||||
"es2015.promise",
|
"es2015.promise",
|
||||||
"es5"
|
"es6"
|
||||||
],
|
],
|
||||||
"module": "commonjs",
|
"module": "ES6",
|
||||||
"target": "ES5",
|
"target": "ES6",
|
||||||
"outDir": "build",
|
"outDir": "build",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"sourceMap": true
|
"sourceMap": true,
|
||||||
|
"moduleResolution": "node"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue