refactor: initial iterations
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { Ref } from "vue"
|
||||
|
||||
export type HandleRef<T, InvalidateReason = unknown> = Ref<
|
||||
{ type: "ok"; data: T } | { type: "invalid"; reason: InvalidateReason }
|
||||
>
|
||||
Reference in New Issue
Block a user