-
-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f75ed5
commit 2f390ac
Showing
2 changed files
with
14 additions
and
19 deletions.
There are no files selected for viewing
20 changes: 1 addition & 19 deletions
20
...r/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/expectedv2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1 @@ | ||
[ | ||
{ | ||
"code": 6263, | ||
"message": "Module './c.svelte' was resolved to 'c:/repos/svelte/language-tools/packages/language-server/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/c.d.svelte.ts', but '--allowArbitraryExtensions' is not set.", | ||
"range": { | ||
"end": { | ||
"character": 34, | ||
"line": 4 | ||
}, | ||
"start": { | ||
"character": 22, | ||
"line": 4 | ||
} | ||
}, | ||
"severity": 1, | ||
"source": "ts", | ||
"tags": [] | ||
} | ||
] | ||
[] |
13 changes: 13 additions & 0 deletions
13
...ver/test/plugins/typescript/features/diagnostics/fixtures/import-precedence/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"compilerOptions": { | ||
"strict": true, | ||
"allowJs": true, | ||
"target": "ESNext", | ||
/** | ||
This is actually not needed, but makes the tests faster | ||
because TS does not look up other types. | ||
*/ | ||
"types": ["svelte"], | ||
"allowArbitraryExtensions": true // else .d.svelte.ts will be an error | ||
} | ||
} |