Skip to content

Commit 9221ca3

Browse files
committed
fix: remove process declaration
Likely added during ancient times for Svelte Native. It now gets in the way, and SvelteNative folks can add a declaration themselves if they need to Fixes #2483
1 parent 840c60f commit 9221ca3

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/svelte2tsx/svelte-shims-v4.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ type KeysMatching<Obj, V> = {[K in keyof Obj]-?: Obj[K] extends V ? K : never}[k
5959
/** @internal PRIVATE API, DO NOT USE */
6060
declare type __sveltets_2_CustomEvents<T> = {[K in KeysMatching<T, CustomEvent>]: T[K] extends CustomEvent ? T[K]['detail']: T[K]}
6161

62-
declare var process: NodeJS.Process & { browser: boolean }
6362
declare function __sveltets_2_ensureRightProps<Props>(props: Props): {};
6463
declare function __sveltets_2_instanceOf<T = any>(type: AConstructorTypeOf<T>): T;
6564
declare function __sveltets_2_allPropsType(): SvelteAllProps

packages/svelte2tsx/svelte-shims.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ type KeysMatching<Obj, V> = {[K in keyof Obj]-?: Obj[K] extends V ? K : never}[k
138138
/** @internal PRIVATE API, DO NOT USE */
139139
declare type __sveltets_2_CustomEvents<T> = {[K in KeysMatching<T, CustomEvent>]: T[K] extends CustomEvent ? T[K]['detail']: T[K]}
140140

141-
declare var process: NodeJS.Process & { browser: boolean }
142141
declare function __sveltets_2_ensureRightProps<Props>(props: Props): {};
143142
declare function __sveltets_2_instanceOf<T = any>(type: AConstructorTypeOf<T>): T;
144143
declare function __sveltets_2_allPropsType(): SvelteAllProps

0 commit comments

Comments
 (0)