Skip to content

Commit 2a25901

Browse files
Fix code block in jsdoc (microsoft#37864)
1 parent 813efb4 commit 2a25901

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiler/path.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ namespace ts {
527527
*
528528
* ```ts
529529
* getNormalizedPathComponents("to/dir/../file.ext", "/path/") === ["/", "path", "to", "file.ext"]
530+
* ```
530531
*/
531532
export function getNormalizedPathComponents(path: string, currentDirectory: string | undefined) {
532533
return reducePathComponents(getPathComponents(path, currentDirectory));
@@ -856,4 +857,4 @@ namespace ts {
856857
export function isNodeModulesDirectory(dirPath: Path) {
857858
return endsWith(dirPath, "/node_modules");
858859
}
859-
}
860+
}

0 commit comments

Comments
 (0)