Fix code block in jsdoc (#37864)

This commit is contained in:
Ravi van Rooijen authored and GitHub committed 2020-04-09 13:31:41 -04:00
1 parent 813efb49af
commit 2a25901c54
1 file changed
+2 -1
+2 -1
View File
@@ -527,6 +527,7 @@ namespace ts {
*
* ```ts
* getNormalizedPathComponents("to/dir/../file.ext", "/path/") === ["/", "path", "to", "file.ext"]
* ```
*/
export function getNormalizedPathComponents(path: string, currentDirectory: string | undefined) {
return reducePathComponents(getPathComponents(path, currentDirectory));
@@ -856,4 +857,4 @@ namespace ts {
export function isNodeModulesDirectory(dirPath: Path) {
return endsWith(dirPath, "/node_modules");
}
}
}