mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 01:04:49 -05:00
replace whole path if directory separator appears for import completion. (#41412)
* replace whole path if directory separator appears. * Fix. * revert change. * Fix test case. * add test. * fix as suggested. * revert useless change * adapt to code change. * fix baseline for test file.
This commit is contained in:
@@ -6,7 +6,7 @@ namespace ts {
|
||||
* we expect the host to correctly handle paths in our specified format.
|
||||
*/
|
||||
export const directorySeparator = "/";
|
||||
const altDirectorySeparator = "\\";
|
||||
export const altDirectorySeparator = "\\";
|
||||
const urlSchemeSeparator = "://";
|
||||
const backslashRegExp = /\\/g;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user