Skip to content

Commit b36379c

Browse files
ctaggartmhegazy
authored andcommitted
replaced @parm typo with @param (microsoft#20277)
1 parent 0ae5a89 commit b36379c

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

lib/typescript.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4487,9 +4487,9 @@ declare namespace ts {
44874487
* @param compilationSettings Some compilation settings like target affects the
44884488
* shape of a the resulting SourceFile. This allows the DocumentRegistry to store
44894489
* multiple copies of the same file for different compilation settings.
4490-
* @parm scriptSnapshot Text of the file. Only used if the file was not found
4490+
* @param scriptSnapshot Text of the file. Only used if the file was not found
44914491
* in the registry and a new one was created.
4492-
* @parm version Current version of the file. Only used if the file was not found
4492+
* @param version Current version of the file. Only used if the file was not found
44934493
* in the registry and a new one was created.
44944494
*/
44954495
acquireDocument(fileName: string, compilationSettings: CompilerOptions, scriptSnapshot: IScriptSnapshot, version: string, scriptKind?: ScriptKind): SourceFile;

lib/typescriptServices.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4487,9 +4487,9 @@ declare namespace ts {
44874487
* @param compilationSettings Some compilation settings like target affects the
44884488
* shape of a the resulting SourceFile. This allows the DocumentRegistry to store
44894489
* multiple copies of the same file for different compilation settings.
4490-
* @parm scriptSnapshot Text of the file. Only used if the file was not found
4490+
* @param scriptSnapshot Text of the file. Only used if the file was not found
44914491
* in the registry and a new one was created.
4492-
* @parm version Current version of the file. Only used if the file was not found
4492+
* @param version Current version of the file. Only used if the file was not found
44934493
* in the registry and a new one was created.
44944494
*/
44954495
acquireDocument(fileName: string, compilationSettings: CompilerOptions, scriptSnapshot: IScriptSnapshot, version: string, scriptKind?: ScriptKind): SourceFile;

src/services/documentRegistry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ namespace ts {
2424
* @param compilationSettings Some compilation settings like target affects the
2525
* shape of a the resulting SourceFile. This allows the DocumentRegistry to store
2626
* multiple copies of the same file for different compilation settings.
27-
* @parm scriptSnapshot Text of the file. Only used if the file was not found
27+
* @param scriptSnapshot Text of the file. Only used if the file was not found
2828
* in the registry and a new one was created.
29-
* @parm version Current version of the file. Only used if the file was not found
29+
* @param version Current version of the file. Only used if the file was not found
3030
* in the registry and a new one was created.
3131
*/
3232
acquireDocument(

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4586,9 +4586,9 @@ declare namespace ts {
45864586
* @param compilationSettings Some compilation settings like target affects the
45874587
* shape of a the resulting SourceFile. This allows the DocumentRegistry to store
45884588
* multiple copies of the same file for different compilation settings.
4589-
* @parm scriptSnapshot Text of the file. Only used if the file was not found
4589+
* @param scriptSnapshot Text of the file. Only used if the file was not found
45904590
* in the registry and a new one was created.
4591-
* @parm version Current version of the file. Only used if the file was not found
4591+
* @param version Current version of the file. Only used if the file was not found
45924592
* in the registry and a new one was created.
45934593
*/
45944594
acquireDocument(fileName: string, compilationSettings: CompilerOptions, scriptSnapshot: IScriptSnapshot, version: string, scriptKind?: ScriptKind): SourceFile;

tests/baselines/reference/api/typescript.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4586,9 +4586,9 @@ declare namespace ts {
45864586
* @param compilationSettings Some compilation settings like target affects the
45874587
* shape of a the resulting SourceFile. This allows the DocumentRegistry to store
45884588
* multiple copies of the same file for different compilation settings.
4589-
* @parm scriptSnapshot Text of the file. Only used if the file was not found
4589+
* @param scriptSnapshot Text of the file. Only used if the file was not found
45904590
* in the registry and a new one was created.
4591-
* @parm version Current version of the file. Only used if the file was not found
4591+
* @param version Current version of the file. Only used if the file was not found
45924592
* in the registry and a new one was created.
45934593
*/
45944594
acquireDocument(fileName: string, compilationSettings: CompilerOptions, scriptSnapshot: IScriptSnapshot, version: string, scriptKind?: ScriptKind): SourceFile;

0 commit comments

Comments
 (0)