Valens-Progression/types/services/ModCompilerService.d.ts

15 lines
716 B
TypeScript
Raw Normal View History

2022-12-25 18:45:30 -05:00
import { CompilerOptions } from "typescript";
import type { ILogger } from "../models/spt/utils/ILogger";
import { HashCacheService } from "./HashCacheService";
2022-12-25 18:45:30 -05:00
import { VFS } from "../utils/VFS";
export declare class ModCompilerService {
protected logger: ILogger;
protected hashCacheService: HashCacheService;
protected vfs: VFS;
constructor(logger: ILogger, hashCacheService: HashCacheService, vfs: VFS);
compileMod(modName: string, modPath: string, modTypeScriptFiles: string[]): Promise<void>;
2022-12-25 18:45:30 -05:00
protected compile(fileNames: string[], options: CompilerOptions): Promise<void>;
protected areFilesReady(fileNames: string[]): boolean;
protected delay(ms: number): Promise<unknown>;
}