mirror of
https://gitee.com/openharmony/third_party_typescript
synced 2024-11-23 06:50:54 +00:00
Add getEmitHost to program
Issue:https://gitee.com/openharmony/developtools_ace_ets2bundle/issues/IANF9F Test:npm run test Signed-off-by: xiaopeiyang <xiaopeiyang1@huawei.com> Change-Id: Ib70d1b3268090535d69e4be642ba88ab737ba6df
This commit is contained in:
parent
9f87056417
commit
0a0fbe239a
@ -102552,7 +102552,8 @@ var ts;
|
||||
getJsDocNodeCheckedConfig: host.getJsDocNodeCheckedConfig,
|
||||
getJsDocNodeConditionCheckedResult: host.getJsDocNodeConditionCheckedResult,
|
||||
getFileCheckedModuleInfo: host.getFileCheckedModuleInfo,
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; }
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; },
|
||||
getEmitHost: getEmitHost
|
||||
};
|
||||
onProgramCreateComplete();
|
||||
fileProcessingDiagnostics === null || fileProcessingDiagnostics === void 0 ? void 0 : fileProcessingDiagnostics.forEach(function (diagnostic) {
|
||||
|
@ -123521,7 +123521,8 @@ var ts;
|
||||
getJsDocNodeCheckedConfig: host.getJsDocNodeCheckedConfig,
|
||||
getJsDocNodeConditionCheckedResult: host.getJsDocNodeConditionCheckedResult,
|
||||
getFileCheckedModuleInfo: host.getFileCheckedModuleInfo,
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; }
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; },
|
||||
getEmitHost: getEmitHost
|
||||
};
|
||||
onProgramCreateComplete();
|
||||
// Add file processingDiagnostics
|
||||
|
1
lib/tsserverlibrary.d.ts
vendored
1
lib/tsserverlibrary.d.ts
vendored
@ -2353,6 +2353,7 @@ declare namespace ts {
|
||||
* Release typeChecker & linterTypeChecker
|
||||
*/
|
||||
releaseTypeChecker(): void;
|
||||
getEmitHost(writeFileCallback?: WriteFileCallback): EmitHost;
|
||||
}
|
||||
export type RedirectTargetsMap = ReadonlyESMap<Path, readonly string[]>;
|
||||
export interface ResolvedProjectReference {
|
||||
|
@ -123520,7 +123520,8 @@ var ts;
|
||||
getJsDocNodeCheckedConfig: host.getJsDocNodeCheckedConfig,
|
||||
getJsDocNodeConditionCheckedResult: host.getJsDocNodeConditionCheckedResult,
|
||||
getFileCheckedModuleInfo: host.getFileCheckedModuleInfo,
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; }
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; },
|
||||
getEmitHost: getEmitHost
|
||||
};
|
||||
onProgramCreateComplete();
|
||||
// Add file processingDiagnostics
|
||||
|
1
lib/typescript.d.ts
vendored
1
lib/typescript.d.ts
vendored
@ -2353,6 +2353,7 @@ declare namespace ts {
|
||||
* Release typeChecker & linterTypeChecker
|
||||
*/
|
||||
releaseTypeChecker(): void;
|
||||
getEmitHost(writeFileCallback?: WriteFileCallback): EmitHost;
|
||||
}
|
||||
export type RedirectTargetsMap = ReadonlyESMap<Path, readonly string[]>;
|
||||
export interface ResolvedProjectReference {
|
||||
|
@ -123511,7 +123511,8 @@ var ts;
|
||||
getJsDocNodeCheckedConfig: host.getJsDocNodeCheckedConfig,
|
||||
getJsDocNodeConditionCheckedResult: host.getJsDocNodeConditionCheckedResult,
|
||||
getFileCheckedModuleInfo: host.getFileCheckedModuleInfo,
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; }
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; },
|
||||
getEmitHost: getEmitHost
|
||||
};
|
||||
onProgramCreateComplete();
|
||||
// Add file processingDiagnostics
|
||||
|
1
lib/typescriptServices.d.ts
vendored
1
lib/typescriptServices.d.ts
vendored
@ -2353,6 +2353,7 @@ declare namespace ts {
|
||||
* Release typeChecker & linterTypeChecker
|
||||
*/
|
||||
releaseTypeChecker(): void;
|
||||
getEmitHost(writeFileCallback?: WriteFileCallback): EmitHost;
|
||||
}
|
||||
export type RedirectTargetsMap = ReadonlyESMap<Path, readonly string[]>;
|
||||
export interface ResolvedProjectReference {
|
||||
|
@ -123511,7 +123511,8 @@ var ts;
|
||||
getJsDocNodeCheckedConfig: host.getJsDocNodeCheckedConfig,
|
||||
getJsDocNodeConditionCheckedResult: host.getJsDocNodeConditionCheckedResult,
|
||||
getFileCheckedModuleInfo: host.getFileCheckedModuleInfo,
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; }
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; },
|
||||
getEmitHost: getEmitHost
|
||||
};
|
||||
onProgramCreateComplete();
|
||||
// Add file processingDiagnostics
|
||||
|
@ -123501,7 +123501,8 @@ var ts;
|
||||
getJsDocNodeCheckedConfig: host.getJsDocNodeCheckedConfig,
|
||||
getJsDocNodeConditionCheckedResult: host.getJsDocNodeConditionCheckedResult,
|
||||
getFileCheckedModuleInfo: host.getFileCheckedModuleInfo,
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; }
|
||||
releaseTypeChecker: function () { typeChecker = undefined; linterTypeChecker = undefined; },
|
||||
getEmitHost: getEmitHost
|
||||
};
|
||||
onProgramCreateComplete();
|
||||
// Add file processingDiagnostics
|
||||
|
@ -1364,7 +1364,8 @@ namespace ts {
|
||||
getJsDocNodeCheckedConfig: host.getJsDocNodeCheckedConfig,
|
||||
getJsDocNodeConditionCheckedResult: host. getJsDocNodeConditionCheckedResult,
|
||||
getFileCheckedModuleInfo: host.getFileCheckedModuleInfo,
|
||||
releaseTypeChecker: () => { typeChecker = undefined; linterTypeChecker = undefined; }
|
||||
releaseTypeChecker: () => { typeChecker = undefined; linterTypeChecker = undefined; },
|
||||
getEmitHost
|
||||
};
|
||||
|
||||
onProgramCreateComplete();
|
||||
|
@ -4586,6 +4586,7 @@ namespace ts {
|
||||
* Release typeChecker & linterTypeChecker
|
||||
*/
|
||||
releaseTypeChecker(): void;
|
||||
getEmitHost(writeFileCallback?: WriteFileCallback): EmitHost;
|
||||
}
|
||||
|
||||
/*@internal*/
|
||||
|
@ -2353,6 +2353,7 @@ declare namespace ts {
|
||||
* Release typeChecker & linterTypeChecker
|
||||
*/
|
||||
releaseTypeChecker(): void;
|
||||
getEmitHost(writeFileCallback?: WriteFileCallback): EmitHost;
|
||||
}
|
||||
export type RedirectTargetsMap = ReadonlyESMap<Path, readonly string[]>;
|
||||
export interface ResolvedProjectReference {
|
||||
|
@ -2353,6 +2353,7 @@ declare namespace ts {
|
||||
* Release typeChecker & linterTypeChecker
|
||||
*/
|
||||
releaseTypeChecker(): void;
|
||||
getEmitHost(writeFileCallback?: WriteFileCallback): EmitHost;
|
||||
}
|
||||
export type RedirectTargetsMap = ReadonlyESMap<Path, readonly string[]>;
|
||||
export interface ResolvedProjectReference {
|
||||
|
Loading…
Reference in New Issue
Block a user