svelte2tsx
Advanced tools
Comparing version 0.5.21 to 0.5.22
{ | ||
"name": "svelte2tsx", | ||
"version": "0.5.21", | ||
"version": "0.5.22", | ||
"description": "Convert Svelte components to TSX for type checking", | ||
@@ -5,0 +5,0 @@ "author": "David Pershouse", |
@@ -234,2 +234,3 @@ // Whenever a ambient declaration changes, its number should be increased | ||
declare function __sveltets_2_union<T1,T2,T3,T4,T5>(t1:T1,t2?:T2,t3?:T3,t4?:T4,t5?:T5): T1 & T2 & T3 & T4 & T5; | ||
declare function __sveltets_2_nonNullable<T>(type: T): NonNullable<T>; | ||
@@ -299,3 +300,10 @@ declare function __sveltets_2_cssProp(prop: Record<string, any>): {}; | ||
/** | ||
* Ambient type only used for intellisense, DO NOT USE IN YOUR PROJECT | ||
* Ambient type only used for intellisense, DO NOT USE IN YOUR PROJECT. | ||
* | ||
* If you're looking for the type of a Svelte Component, use `SvelteComponentTyped` and `ComponentType` instead: | ||
* | ||
* ```ts | ||
* import type { ComponentType, SvelteComponentTyped } from "svelte"; | ||
* let myComponentConstructor: ComponentType<SvelteComponentTyped> = ..; | ||
* ``` | ||
*/ | ||
@@ -302,0 +310,0 @@ declare type ConstructorOfATypedSvelteComponent = new (args: {target: any, props?: any}) => ATypedSvelteComponent |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
740478
17356