From b36379c5970533c56c068f2aaf1197d9f5680f90 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Mon, 27 Nov 2017 15:10:55 -0300 Subject: [PATCH] replaced @parm typo with @param (#20277) --- lib/typescript.d.ts | 4 ++-- lib/typescriptServices.d.ts | 4 ++-- src/services/documentRegistry.ts | 4 ++-- tests/baselines/reference/api/tsserverlibrary.d.ts | 4 ++-- tests/baselines/reference/api/typescript.d.ts | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/typescript.d.ts b/lib/typescript.d.ts index b6598e9f617..815cc7bf24a 100644 --- a/lib/typescript.d.ts +++ b/lib/typescript.d.ts @@ -4487,9 +4487,9 @@ declare namespace ts { * @param compilationSettings Some compilation settings like target affects the * shape of a the resulting SourceFile. This allows the DocumentRegistry to store * multiple copies of the same file for different compilation settings. - * @parm scriptSnapshot Text of the file. Only used if the file was not found + * @param scriptSnapshot Text of the file. Only used if the file was not found * in the registry and a new one was created. - * @parm version Current version of the file. Only used if the file was not found + * @param version Current version of the file. Only used if the file was not found * in the registry and a new one was created. */ acquireDocument(fileName: string, compilationSettings: CompilerOptions, scriptSnapshot: IScriptSnapshot, version: string, scriptKind?: ScriptKind): SourceFile; diff --git a/lib/typescriptServices.d.ts b/lib/typescriptServices.d.ts index 4bce953f667..cbf7ad062d2 100644 --- a/lib/typescriptServices.d.ts +++ b/lib/typescriptServices.d.ts @@ -4487,9 +4487,9 @@ declare namespace ts { * @param compilationSettings Some compilation settings like target affects the * shape of a the resulting SourceFile. This allows the DocumentRegistry to store * multiple copies of the same file for different compilation settings. - * @parm scriptSnapshot Text of the file. Only used if the file was not found + * @param scriptSnapshot Text of the file. Only used if the file was not found * in the registry and a new one was created. - * @parm version Current version of the file. Only used if the file was not found + * @param version Current version of the file. Only used if the file was not found * in the registry and a new one was created. */ acquireDocument(fileName: string, compilationSettings: CompilerOptions, scriptSnapshot: IScriptSnapshot, version: string, scriptKind?: ScriptKind): SourceFile; diff --git a/src/services/documentRegistry.ts b/src/services/documentRegistry.ts index 0c3d4d1cb48..81742018fb7 100644 --- a/src/services/documentRegistry.ts +++ b/src/services/documentRegistry.ts @@ -24,9 +24,9 @@ namespace ts { * @param compilationSettings Some compilation settings like target affects the * shape of a the resulting SourceFile. This allows the DocumentRegistry to store * multiple copies of the same file for different compilation settings. - * @parm scriptSnapshot Text of the file. Only used if the file was not found + * @param scriptSnapshot Text of the file. Only used if the file was not found * in the registry and a new one was created. - * @parm version Current version of the file. Only used if the file was not found + * @param version Current version of the file. Only used if the file was not found * in the registry and a new one was created. */ acquireDocument( diff --git a/tests/baselines/reference/api/tsserverlibrary.d.ts b/tests/baselines/reference/api/tsserverlibrary.d.ts index 231d7bae3f2..0de484e36b5 100644 --- a/tests/baselines/reference/api/tsserverlibrary.d.ts +++ b/tests/baselines/reference/api/tsserverlibrary.d.ts @@ -4586,9 +4586,9 @@ declare namespace ts { * @param compilationSettings Some compilation settings like target affects the * shape of a the resulting SourceFile. This allows the DocumentRegistry to store * multiple copies of the same file for different compilation settings. - * @parm scriptSnapshot Text of the file. Only used if the file was not found + * @param scriptSnapshot Text of the file. Only used if the file was not found * in the registry and a new one was created. - * @parm version Current version of the file. Only used if the file was not found + * @param version Current version of the file. Only used if the file was not found * in the registry and a new one was created. */ acquireDocument(fileName: string, compilationSettings: CompilerOptions, scriptSnapshot: IScriptSnapshot, version: string, scriptKind?: ScriptKind): SourceFile; diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 6b2db71b140..810a16e6c6b 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -4586,9 +4586,9 @@ declare namespace ts { * @param compilationSettings Some compilation settings like target affects the * shape of a the resulting SourceFile. This allows the DocumentRegistry to store * multiple copies of the same file for different compilation settings. - * @parm scriptSnapshot Text of the file. Only used if the file was not found + * @param scriptSnapshot Text of the file. Only used if the file was not found * in the registry and a new one was created. - * @parm version Current version of the file. Only used if the file was not found + * @param version Current version of the file. Only used if the file was not found * in the registry and a new one was created. */ acquireDocument(fileName: string, compilationSettings: CompilerOptions, scriptSnapshot: IScriptSnapshot, version: string, scriptKind?: ScriptKind): SourceFile;