svelte2tsx
Advanced tools
Comparing version 0.5.6 to 0.5.7
{ | ||
"name": "svelte2tsx", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "Convert Svelte components to TSX for type checking", | ||
@@ -25,3 +25,3 @@ "author": "David Pershouse", | ||
"@rollup/plugin-typescript": "^6.0.0", | ||
"@types/mocha": "^5.2.7", | ||
"@types/mocha": "^9.1.0", | ||
"@types/node": "^8.10.53", | ||
@@ -31,3 +31,3 @@ "@types/unist": "^2.0.3", | ||
"magic-string": "^0.25.7", | ||
"mocha": "^9.0.0", | ||
"mocha": "^9.2.0", | ||
"periscopic": "^2.0.2", | ||
@@ -34,0 +34,0 @@ "rollup": "2.52.7", |
@@ -122,4 +122,6 @@ // Whenever a ambient declaration changes, its number should be increased | ||
declare function __sveltets_1_ensureFunction(expression: (e: Event & { detail?: any }) => unknown ): {}; | ||
declare function __sveltets_1_ensureType<T>(type: AConstructorTypeOf<T>, el: T): {}; | ||
declare function __sveltets_1_ensureType<T1, T2>(type1: AConstructorTypeOf<T1>, type2: AConstructorTypeOf<T2>, el: T1 | T2): {}; | ||
// Includes undefined and null for all types as all usages also allow these | ||
declare function __sveltets_1_ensureType<T>(type: AConstructorTypeOf<T>, el: T | undefined | null): {}; | ||
declare function __sveltets_1_ensureType<T1, T2>(type1: AConstructorTypeOf<T1>, type2: AConstructorTypeOf<T2>, el: T1 | T2 | undefined | null): {}; | ||
declare function __sveltets_1_createEnsureSlot<Slots = Record<string, Record<string, any>>>(): <K1 extends keyof Slots, K2 extends keyof Slots[K1]>(k1: K1, k2: K2, val: Slots[K1][K2]) => Slots[K1][K2]; | ||
@@ -257,4 +259,5 @@ declare function __sveltets_1_ensureRightProps<Props>(props: Props): {}; | ||
declare function __sveltets_2_ensureType<T>(type: AConstructorTypeOf<T>, el: T): {}; | ||
declare function __sveltets_2_ensureType<T1, T2>(type1: AConstructorTypeOf<T1>, type2: AConstructorTypeOf<T2>, el: T1 | T2): {}; | ||
// Includes undefined and null for all types as all usages also allow these | ||
declare function __sveltets_2_ensureType<T>(type: AConstructorTypeOf<T>, el: T | undefined | null): {}; | ||
declare function __sveltets_2_ensureType<T1, T2>(type1: AConstructorTypeOf<T1>, type2: AConstructorTypeOf<T2>, el: T1 | T2 | undefined | null): {}; | ||
@@ -261,0 +264,0 @@ // The following is necessary because there are two clashing errors that can't be solved at the same time |
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
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
675336
15858