forked from RocketChat/Rocket.Chat.Apps-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppsCompiler.d.ts
More file actions
18 lines (18 loc) · 812 Bytes
/
AppsCompiler.d.ts
File metadata and controls
18 lines (18 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import * as fallbackTypescript from 'typescript';
import { IBundledCompilerResult, ICompilerDescriptor, ICompilerResult } from './definition';
export declare type TypeScript = typeof fallbackTypescript;
export declare class AppsCompiler {
private readonly compilerDesc;
private readonly sourcePath;
private compilationResult?;
private readonly bundler;
private readonly validator;
private readonly typescriptCompiler;
constructor(compilerDesc: ICompilerDescriptor, sourcePath: string, ts?: TypeScript);
getLatestCompilationResult(): ICompilerResult;
run(outputPath: string): Promise<Buffer>;
compile(): Promise<ICompilerResult>;
bundle(): Promise<IBundledCompilerResult>;
outputZip(outputPath: string): Promise<Buffer>;
}
//# sourceMappingURL=AppsCompiler.d.ts.map