File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ---
Original file line number Diff line number Diff line change 11declare const PACKAGE_NAME : string ;
22declare const PACKAGE_VERSION : string ;
3+
4+ declare module '#async-local-storage' {
5+ import type { AsyncLocalStorage } from 'node:async_hooks' ;
6+
7+ export const authAsyncStorage : AsyncLocalStorage < unknown > ;
8+ }
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import type {
99import type { Store , StoreValue } from 'nanostores' ;
1010import { useCallback , useSyncExternalStore } from 'react' ;
1111
12- // @ts -expect-error - TS2307: Cannot find module '#async-local-storage'.
1312import { authAsyncStorage } from '#async-local-storage' ;
1413
1514import { $authStore } from '../stores/external' ;
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { eventMethodCalled } from '@clerk/shared/telemetry';
77import { handleValueOrFn } from '@clerk/shared/utils' ;
88import type { APIContext } from 'astro' ;
99
10- // @ts -ignore
1110import { authAsyncStorage } from '#async-local-storage' ;
1211
1312import { NETLIFY_CACHE_BUST_PARAM } from '../internal' ;
You can’t perform that action at this time.
0 commit comments