From 033b01c2852431f6559c6c3893efbb0392ade3e2 Mon Sep 17 00:00:00 2001 From: evillt Date: Tue, 12 Oct 2021 18:17:32 +0800 Subject: [PATCH] feat(store): export type `Invalidator` --- src/runtime/store/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/store/index.ts b/src/runtime/store/index.ts index e947fa0740..a3132342fa 100644 --- a/src/runtime/store/index.ts +++ b/src/runtime/store/index.ts @@ -10,7 +10,7 @@ export type Unsubscriber = () => void; export type Updater = (value: T) => T; /** Cleanup logic callback. */ -type Invalidator = (value?: T) => void; +export type Invalidator = (value?: T) => void; /** Start and stop notification callbacks. */ export type StartStopNotifier = (set: Subscriber) => Unsubscriber | void;