Create jsconfig.json

This commit is contained in:
cirroskais 2024-04-27 03:03:33 -04:00
parent 9a4013a953
commit 15df6f4401
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D
2 changed files with 22 additions and 3 deletions

19
jsconfig.json Normal file
View file

@ -0,0 +1,19 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"moduleResolution": "bundler"
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
// except $lib which is handled by https://kit.svelte.dev/docs/configuration#files
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
// from the referenced tsconfig.json - TypeScript does not merge them in
}

View file

@ -1,8 +1,8 @@
<script>
import { user } from '$lib/stores';
import ThemeSwitcher from '$lib/components/ThemeSwitcher.svelte';
import Button from '../../../lib/components/Inputs/Button.svelte';
import ButtonText from '../../../lib/components/Inputs/ButtonText.svelte';
import Button from '$lib/components/Inputs/Button.svelte';
import ButtonText from '$lib/components/Inputs/ButtonText.svelte';
export let data;
@ -15,6 +15,6 @@
</tt>
</p>
<Button disabled={true}>
<Button click={() => {}} disabled={true}>
<ButtonText>help</ButtonText>
</Button>