Skip to content

Commit aeda72d

Browse files
committed
regenerate types
1 parent 3cc0245 commit aeda72d

File tree

1 file changed

+90
-0
lines changed

1 file changed

+90
-0
lines changed

packages/svelte/src/ambient.d.ts

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,29 @@ declare namespace $effect {
338338
*/
339339
declare function $props(): any;
340340

341+
declare namespace $props {
342+
// prevent intellisense from being unhelpful
343+
/** @deprecated */
344+
export const apply: never;
345+
/** @deprecated */
346+
// @ts-ignore
347+
export const arguments: never;
348+
/** @deprecated */
349+
export const bind: never;
350+
/** @deprecated */
351+
export const call: never;
352+
/** @deprecated */
353+
export const caller: never;
354+
/** @deprecated */
355+
export const length: never;
356+
/** @deprecated */
357+
export const name: never;
358+
/** @deprecated */
359+
export const prototype: never;
360+
/** @deprecated */
361+
export const toString: never;
362+
}
363+
341364
/**
342365
* Declares a prop as bindable, meaning the parent component can use `bind:propName={value}` to bind to it.
343366
*
@@ -349,6 +372,29 @@ declare function $props(): any;
349372
*/
350373
declare function $bindable<T>(fallback?: T): T;
351374

375+
declare namespace $bindable {
376+
// prevent intellisense from being unhelpful
377+
/** @deprecated */
378+
export const apply: never;
379+
/** @deprecated */
380+
// @ts-ignore
381+
export const arguments: never;
382+
/** @deprecated */
383+
export const bind: never;
384+
/** @deprecated */
385+
export const call: never;
386+
/** @deprecated */
387+
export const caller: never;
388+
/** @deprecated */
389+
export const length: never;
390+
/** @deprecated */
391+
export const name: never;
392+
/** @deprecated */
393+
export const prototype: never;
394+
/** @deprecated */
395+
export const toString: never;
396+
}
397+
352398
/**
353399
* Inspects one or more values whenever they, or the properties they contain, change. Example:
354400
*
@@ -388,6 +434,27 @@ declare namespace $inspect {
388434
* </script>
389435
*/
390436
export function trace(name: string): void;
437+
438+
// prevent intellisense from being unhelpful
439+
/** @deprecated */
440+
export const apply: never;
441+
/** @deprecated */
442+
// @ts-ignore
443+
export const arguments: never;
444+
/** @deprecated */
445+
export const bind: never;
446+
/** @deprecated */
447+
export const call: never;
448+
/** @deprecated */
449+
export const caller: never;
450+
/** @deprecated */
451+
export const length: never;
452+
/** @deprecated */
453+
export const name: never;
454+
/** @deprecated */
455+
export const prototype: never;
456+
/** @deprecated */
457+
export const toString: never;
391458
}
392459

393460
/**
@@ -410,3 +477,26 @@ declare namespace $inspect {
410477
* https://svelte.dev/docs/svelte/$host
411478
*/
412479
declare function $host<El extends HTMLElement = HTMLElement>(): El;
480+
481+
declare namespace $host {
482+
// prevent intellisense from being unhelpful
483+
/** @deprecated */
484+
export const apply: never;
485+
/** @deprecated */
486+
// @ts-ignore
487+
export const arguments: never;
488+
/** @deprecated */
489+
export const bind: never;
490+
/** @deprecated */
491+
export const call: never;
492+
/** @deprecated */
493+
export const caller: never;
494+
/** @deprecated */
495+
export const length: never;
496+
/** @deprecated */
497+
export const name: never;
498+
/** @deprecated */
499+
export const prototype: never;
500+
/** @deprecated */
501+
export const toString: never;
502+
}

0 commit comments

Comments
 (0)