svelte2tsx
Advanced tools
Comparing version 0.5.14 to 0.5.15
{ | ||
"name": "svelte2tsx", | ||
"version": "0.5.14", | ||
"version": "0.5.15", | ||
"description": "Convert Svelte components to TSX for type checking", | ||
@@ -40,3 +40,3 @@ "author": "David Pershouse", | ||
"tslib": "^1.10.0", | ||
"typescript": "^4.7.3" | ||
"typescript": "^4.8.2" | ||
}, | ||
@@ -43,0 +43,0 @@ "peerDependencies": { |
@@ -10,4 +10,7 @@ /* eslint @typescript-eslint/no-unused-vars: off */ | ||
function createElement<Elements extends IntrinsicElements, Key extends keyof Elements>( | ||
element: Key, attrs: Elements[Key] | ||
element: Key | undefined | null, attrs: Elements[Key] | ||
): any; | ||
function createElement<Elements extends IntrinsicElements, Key extends keyof Elements, T>( | ||
element: Key | undefined | null, attrEnhancers: T, attrs: Elements[Key] & T | ||
): any; | ||
@@ -14,0 +17,0 @@ |
@@ -249,5 +249,6 @@ // Whenever a ambient declaration changes, its number should be increased | ||
update?: (args: any) => void, | ||
destroy?: () => void | ||
destroy?: () => void, | ||
$$_attributes?: Record<string, any>, | ||
} | void | ||
declare function __sveltets_2_ensureAction(actionCall: __sveltets_2_SvelteActionReturnType): {}; | ||
declare function __sveltets_2_ensureAction<T extends __sveltets_2_SvelteActionReturnType>(actionCall: T): T extends {$$_attributes?: any} ? T['$$_attributes'] : {}; | ||
@@ -254,0 +255,0 @@ type __sveltets_2_SvelteTransitionConfig = { |
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
661800
15613