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:
Andy
2018-01-08 12:28:50 -08:00
committed by GitHub
parent 84e3681b79
commit 97c3e9c3ef
4 changed files with 88 additions and 66 deletions

View 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"]);