switch some more classes to interfaces
This commit is contained in:
parent
410a657b1c
commit
cb3f8c1d74
|
@ -66,12 +66,9 @@ module TypeScript {
|
||||||
FailedToGenerateDeclarationsBecauseOfSemanticErrors
|
FailedToGenerateDeclarationsBecauseOfSemanticErrors
|
||||||
}
|
}
|
||||||
|
|
||||||
export class EmitOutput {
|
export interface EmitOutput {
|
||||||
public outputFiles: OutputFile[] = [];
|
outputFiles: OutputFile[];
|
||||||
public emitOutputResult: EmitOutputResult;
|
emitOutputResult: EmitOutputResult;
|
||||||
constructor(emitOutputResult = EmitOutputResult.Succeeded) {
|
|
||||||
this.emitOutputResult = emitOutputResult;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum OutputFileType {
|
export enum OutputFileType {
|
||||||
|
@ -87,13 +84,12 @@ module TypeScript {
|
||||||
Utf16LittleEndian = 3,
|
Utf16LittleEndian = 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
export class OutputFile {
|
export interface OutputFile {
|
||||||
constructor(public name: string,
|
name: string;
|
||||||
public writeByteOrderMark: boolean,
|
writeByteOrderMark: boolean;
|
||||||
public text: string,
|
text: string;
|
||||||
public fileType: OutputFileType,
|
fileType: OutputFileType;
|
||||||
public sourceMapOutput: any = null) {
|
sourceMapOutput: any;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ICancellationToken {
|
export interface ICancellationToken {
|
||||||
|
|
Loading…
Reference in a new issue