Skip to content

Commit

Permalink
use ts-ignore instead because of Svelte 5
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Jul 31, 2024
1 parent 14d9443 commit d8a8fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/language-server/src/lib/documents/configLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export class ConfigLoader {
// User doesn't have svelte-preprocess installed, provide a barebones TS preprocessor
return {
preprocess: {
// @ts-expect-error name property exists in Svelte 4 onwards
// @ts-ignore name property exists in Svelte 4 onwards
name: 'svelte-language-tools-ts-fallback-preprocessor',
script: ({ content, attributes, filename }) => {
if (attributes.lang !== 'ts') return;
Expand Down

0 comments on commit d8a8fd9

Please sign in to comment.