mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-25 18:50:29 -06:00
Fix typos (#56115)
This commit is contained in:
parent
e38944d8b8
commit
2e660bc174
@ -280,7 +280,7 @@ export function getBuilderFileEmit(options: CompilerOptions) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Determing what all is pending to be emitted based on previous options or previous file emit flags
|
||||
* Determining what all is pending to be emitted based on previous options or previous file emit flags
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
@ -1588,7 +1588,7 @@ export function createBuilderProgram(kind: BuilderProgramKind, { newProgram, hos
|
||||
info.signature = signature;
|
||||
}
|
||||
else {
|
||||
// These are directly commited
|
||||
// These are directly committed
|
||||
info.signature = signature;
|
||||
state.oldExportedModulesMap?.clear();
|
||||
}
|
||||
|
||||
@ -84,11 +84,11 @@ export interface BuilderState {
|
||||
*/
|
||||
hasCalledUpdateShapeSignature?: Set<Path>;
|
||||
/**
|
||||
* Stores signatures before before the update till affected file is commited
|
||||
* Stores signatures before before the update till affected file is committed
|
||||
*/
|
||||
oldSignatures?: Map<Path, string | false>;
|
||||
/**
|
||||
* Stores exportedModulesMap before the update till affected file is commited
|
||||
* Stores exportedModulesMap before the update till affected file is committed
|
||||
*/
|
||||
oldExportedModulesMap?: Map<Path, ReadonlySet<Path> | false>;
|
||||
/**
|
||||
|
||||
@ -1249,7 +1249,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
|
||||
affectsEmit: true,
|
||||
affectsBuildInfo: true,
|
||||
affectsDeclarationPath: true,
|
||||
isFilePath: false, // This is intentionally broken to support compatability with existing tsconfig files
|
||||
isFilePath: false, // This is intentionally broken to support compatibility with existing tsconfig files
|
||||
// for correct behaviour, please use outFile
|
||||
category: Diagnostics.Backwards_Compatibility,
|
||||
paramType: Diagnostics.FILE,
|
||||
@ -2384,7 +2384,7 @@ export function convertToJson(
|
||||
// Currently having element option declaration in the tsconfig with type "object"
|
||||
// determines if it needs onSetValidOptionKeyValueInParent callback or not
|
||||
// At moment there are only "compilerOptions", "typeAcquisition" and "typingOptions"
|
||||
// that satifies it and need it to modify options set in them (for normalizing file paths)
|
||||
// that satisfies it and need it to modify options set in them (for normalizing file paths)
|
||||
// vs what we set in the json
|
||||
// If need arises, we can modify this interface and callbacks as needed
|
||||
return convertObjectLiteralExpressionToJson(objectLiteralExpression, option as TsConfigOnlyOption);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user