fix: new ts version build error

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2021-03-27 11:35:54 +08:00
parent 5c90ac3b1f
commit 1bdb324fc4
9 changed files with 17 additions and 149 deletions

View File

@@ -20,6 +20,7 @@ enum LogLevel {
export class MiaoScriptConsole implements Console {
Console: NodeJS.ConsoleConstructor
memory: any
private static sourceMaps: { [key: string]: SourceMapBuilder } = {}
private static sourceFileMaps: { [key: string]: string } = {}
@@ -195,6 +196,9 @@ export class MiaoScriptConsole implements Console {
dirxml(...data: any[]): void {
throw new Error("Method not implemented.")
}
exception(message?: string, ...optionalParams: any[]): void {
throw new Error('Method not implemented.')
}
group(...label: any[]): void {
throw new Error("Method not implemented.")
}