mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-22 02:34:33 +03:00
fix: update tsconfig related options
This commit is contained in:
parent
1838fab7c3
commit
f928b25fff
1
.gitignore
vendored
1
.gitignore
vendored
@ -35,6 +35,7 @@ build
|
|||||||
package
|
package
|
||||||
!.env.example
|
!.env.example
|
||||||
vite.config.ts.timestamp-*
|
vite.config.ts.timestamp-*
|
||||||
|
tsconfig.tsbuildinfo
|
||||||
|
|
||||||
# Written to disk when using `act`
|
# Written to disk when using `act`
|
||||||
.pnpm-store
|
.pnpm-store
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
<script lang="ts" module>
|
||||||
|
type T = any;
|
||||||
|
</script>
|
||||||
|
|
||||||
<script lang="ts" generics="T">
|
<script lang="ts" generics="T">
|
||||||
/**
|
/**
|
||||||
* Lazily renders a list of many many items. This is intended to be used
|
* Lazily renders a list of many many items. This is intended to be used
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<script lang="ts" module>
|
<script lang="ts" module>
|
||||||
|
type T = string;
|
||||||
|
|
||||||
export type SelectItem<T extends string = string> = {
|
export type SelectItem<T extends string = string> = {
|
||||||
label: string;
|
label: string;
|
||||||
value: T;
|
value: T;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { setSentryUser } from '$lib/analytics/sentry';
|
import { setSentryUser } from '$lib/analytics/sentry';
|
||||||
import { writable } from 'svelte/store';
|
import { writable, type Writable } from 'svelte/store';
|
||||||
import type { HttpClient } from '@gitbutler/shared/httpClient';
|
import type { HttpClient } from '@gitbutler/shared/httpClient';
|
||||||
|
|
||||||
export interface User {
|
export interface User {
|
||||||
|
@ -11,7 +11,10 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"experimentalDecorators": true
|
"experimentalDecorators": true,
|
||||||
|
"declaration": true,
|
||||||
|
"composite": true,
|
||||||
|
"declarationMap": true
|
||||||
}
|
}
|
||||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
// 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
|
// except $lib which is handled by https://kit.svelte.dev/docs/configuration#files
|
||||||
|
@ -12,7 +12,9 @@
|
|||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"declaration": true
|
"declaration": true,
|
||||||
|
"composite": true,
|
||||||
|
"declarationMap": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
".svelte-kit/ambient.d.ts",
|
".svelte-kit/ambient.d.ts",
|
||||||
|
@ -11,7 +11,10 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"experimentalDecorators": true
|
"experimentalDecorators": true,
|
||||||
|
"declaration": true,
|
||||||
|
"composite": true,
|
||||||
|
"declarationMap": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
".svelte-kit/ambient.d.ts",
|
".svelte-kit/ambient.d.ts",
|
||||||
|
Loading…
Reference in New Issue
Block a user