Added types for store
This commit is contained in:
parent
a17b7a564e
commit
be41c0dd02
@ -1,6 +1,7 @@
|
|||||||
import { writable } from 'svelte/store';
|
import { writable, type Writable } from 'svelte/store';
|
||||||
|
|
||||||
export const gitTokens = writable({
|
export const gitTokens: Writable<{ githubToken: string | null; gitlabToken: string | null }> =
|
||||||
githubToken: null,
|
writable({
|
||||||
gitlabToken: null
|
githubToken: null,
|
||||||
});
|
gitlabToken: null
|
||||||
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user