Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

utils.svelte.ts

12 lines207 Bytes

1export type StatusResult<T = unknown> = {
2 status: string
3 fetchStatus: string
4 data: T | undefined
5}
6​
7export class StatelessRef<T> {
8 current: T
9 constructor(value: T) {
10 this.current = value
11 }