mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Remove Push from public API (#52122)
This commit is contained in:
1 parent
91822db8e0
commit
bfeb927d43
5 files changed
+14
-18
No files matched your search
@@ -2288,7 +2288,7 @@ function convertConfigFileToObject(sourceFile: JsonSourceFile, errors: Push<Diag
|
||||
/**
|
||||
* Convert the json syntax tree into the json value
|
||||
*/
|
||||
export function convertToObject(sourceFile: JsonSourceFile, errors: Push<Diagnostic>): any {
|
||||
export function convertToObject(sourceFile: JsonSourceFile, errors: Diagnostic[]): any {
|
||||
return convertToObjectWorker(sourceFile, sourceFile.statements[0]?.expression, errors, /*returnValue*/ true, /*knownRootOptions*/ undefined, /*jsonConversionNotifier*/ undefined);
|
||||
}
|
||||
|
||||
@@ -3177,7 +3177,7 @@ function parseConfig(
|
||||
basePath: string,
|
||||
configFileName: string | undefined,
|
||||
resolutionStack: string[],
|
||||
errors: Push<Diagnostic>,
|
||||
errors: Diagnostic[],
|
||||
extendedConfigCache?: Map<string, ExtendedConfigCacheEntry>
|
||||
): ParsedTsconfig {
|
||||
basePath = normalizeSlashes(basePath);
|
||||
@@ -3432,7 +3432,7 @@ function getExtendedConfig(
|
||||
extendedConfigPath: string,
|
||||
host: ParseConfigHost,
|
||||
resolutionStack: string[],
|
||||
errors: Push<Diagnostic>,
|
||||
errors: Diagnostic[],
|
||||
extendedConfigCache: Map<string, ExtendedConfigCacheEntry> | undefined,
|
||||
result: ExtendsResult
|
||||
): ParsedTsconfig | undefined {
|
||||
|
||||
Reference in new issue
Block a user