mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-22 12:03:44 -05:00
Support all path mappings that end in "*" in completions (#21072)
* Support all path mappings that end in "*" in completions * Check for uppercase TsConfig.JSON
This commit is contained in:
19
tests/cases/fourslash/completionsPaths_pathMapping.ts
Normal file
19
tests/cases/fourslash/completionsPaths_pathMapping.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
// @Filename: /src/b.ts
|
||||
////export const x = 0;
|
||||
|
||||
// @Filename: /src/a.ts
|
||||
////import {} from "foo//**/";
|
||||
|
||||
// @Filename: /tsconfig.json
|
||||
////{
|
||||
//// "compilerOptions": {
|
||||
//// "baseUrl": ".",
|
||||
//// "paths": {
|
||||
//// "foo/*": ["src/*"]
|
||||
//// }
|
||||
//// }
|
||||
////}
|
||||
|
||||
verify.completionsAt("", ["a", "b"]);
|
||||
Reference in New Issue
Block a user