13 lines
207 B
TypeScript
13 lines
207 B
TypeScript
export type StatusResult<T = unknown> = {
|
|
status: string
|
|
fetchStatus: string
|
|
data: T | undefined
|
|
}
|
|
|
|
export class StatelessRef<T> {
|
|
current: T
|
|
constructor(value: T) {
|
|
this.current = value
|
|
}
|
|
}
|