summaryrefslogtreecommitdiff
path: root/src/context.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/context.ts')
-rw-r--r--src/context.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/context.ts b/src/context.ts
index 2e77787..054d796 100644
--- a/src/context.ts
+++ b/src/context.ts
@@ -1,5 +1,4 @@
import { createContext } from 'preact';
+import type { PocketBase } from 'pocketbase';
-const Pb = createContext();
-
-export { Pb }; \ No newline at end of file
+export const Pb = createContext<PocketBase>();