From f56e84d60fb9d461b0bffec0197e1176f2074ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=AF=D0=BA=D0=B8?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Thu, 13 Jan 2022 21:20:13 +0300 Subject: [PATCH] add export for Invalidator type --- 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;