diff --git a/packages/svelte2tsx/svelte-shims-v4.d.ts b/packages/svelte2tsx/svelte-shims-v4.d.ts index 5227cb041..f830ea6b0 100644 --- a/packages/svelte2tsx/svelte-shims-v4.d.ts +++ b/packages/svelte2tsx/svelte-shims-v4.d.ts @@ -59,7 +59,6 @@ type KeysMatching = {[K in keyof Obj]-?: Obj[K] extends V ? K : never}[k /** @internal PRIVATE API, DO NOT USE */ declare type __sveltets_2_CustomEvents = {[K in KeysMatching]: T[K] extends CustomEvent ? T[K]['detail']: T[K]} -declare var process: NodeJS.Process & { browser: boolean } declare function __sveltets_2_ensureRightProps(props: Props): {}; declare function __sveltets_2_instanceOf(type: AConstructorTypeOf): T; declare function __sveltets_2_allPropsType(): SvelteAllProps diff --git a/packages/svelte2tsx/svelte-shims.d.ts b/packages/svelte2tsx/svelte-shims.d.ts index a8066b0a7..3b96603e2 100644 --- a/packages/svelte2tsx/svelte-shims.d.ts +++ b/packages/svelte2tsx/svelte-shims.d.ts @@ -138,7 +138,6 @@ type KeysMatching = {[K in keyof Obj]-?: Obj[K] extends V ? K : never}[k /** @internal PRIVATE API, DO NOT USE */ declare type __sveltets_2_CustomEvents = {[K in KeysMatching]: T[K] extends CustomEvent ? T[K]['detail']: T[K]} -declare var process: NodeJS.Process & { browser: boolean } declare function __sveltets_2_ensureRightProps(props: Props): {}; declare function __sveltets_2_instanceOf(type: AConstructorTypeOf): T; declare function __sveltets_2_allPropsType(): SvelteAllProps