Add MessagePack support to Typescript. C# Is still unsupported

This commit is contained in:
K35
2022-01-10 20:17:25 +00:00
parent 6236a14377
commit 491e1ac052
6 changed files with 34 additions and 16 deletions

View File

@ -11,7 +11,7 @@ import {
export abstract class CompileTarget<T = any> {
abstract name: string;
constructor(private outputFolder: string, protected options: T) {
constructor(private outputFolder: string, protected options: T & { use_messagepack: boolean }) {
if (!FS.existsSync(outputFolder)) {
FS.mkdirSync(outputFolder, {
recursive: true,