Skip to content

Commit 0e28cc1

Browse files
committed
simplify the type
1 parent d7b588f commit 0e28cc1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/eslint-plugin-svelte/src/utils/svelte-context.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ import { getFilename, getSourceCode } from './compat.js';
77
const isRunInBrowser = !fs.readFileSync;
88

99
export type SvelteContext = (
10-
| ({
10+
| {
1111
svelteVersion: '3/4';
12-
} & {
1312
svelteFileType: '.svelte' | null;
1413
runes: null;
15-
})
14+
}
1615
| ({
1716
svelteVersion: '5';
1817
} & (

0 commit comments

Comments
 (0)