Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Aug 29, 2024
1 parent 9f75ed5 commit 2f390ac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 19 deletions.
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": []
}
]
[]
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
}
}

0 comments on commit 2f390ac

Please sign in to comment.