diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2024-03-14 19:29:29 -0400 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2024-03-14 19:29:29 -0400 |
| commit | c63738e17df4d5bfff2049a6d1c445c609c2189e (patch) | |
| tree | 5e64cdbcd49a3d6f7348cff8ad80a8eafb6dc83c /src/context.ts | |
| parent | 71abdb2ee3f5bdb1e029c9f4266f4b797fa960f9 (diff) | |
fix: fix lots of type errors
Diffstat (limited to 'src/context.ts')
| -rw-r--r-- | src/context.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context.ts b/src/context.ts index 054d796..dd7bb51 100644 --- a/src/context.ts +++ b/src/context.ts @@ -1,4 +1,4 @@ import { createContext } from 'preact'; -import type { PocketBase } from 'pocketbase'; +import PocketBase from 'pocketbase'; -export const Pb = createContext<PocketBase>(); +export const Pb = createContext<PocketBase | null>(null); |
