mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Remove enableSingleOutputFile boolean and use singleOutputFilename to check if singleOutputFile is specified
This commit is contained in:
parent
451f92bc24
commit
b0654dc044
@ -192,9 +192,6 @@ module FourSlash {
|
||||
// Whether or not to generate .d.ts file
|
||||
public enableDeclaration = false;
|
||||
|
||||
// Whether or not to generate one output javascript file
|
||||
public enableSingleOutputFile = false;
|
||||
|
||||
// Output filename for single-output-file option
|
||||
public singleOutputFilename: string = undefined;
|
||||
|
||||
@ -463,10 +460,10 @@ module FourSlash {
|
||||
|
||||
public verifyEmitOutput(state: ts.EmitOutputResult, filename?: string) {
|
||||
if (this.enableDeclaration) {
|
||||
this.languageServiceShimHost.setCompilationSettings({generateDeclarationFiles: true});
|
||||
this.languageServiceShimHost.setCompilationSettings({ generateDeclarationFiles: true });
|
||||
}
|
||||
|
||||
if (this.enableSingleOutputFile) {
|
||||
if (this.singleOutputFilename !== undefined) {
|
||||
this.languageServiceShimHost.setCompilationSettings({ outFileOption: this.singleOutputFilename });
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user