svelte2tsx
Advanced tools
Comparing version 0.1.79 to 0.1.80
{ | ||
"name": "svelte2tsx", | ||
"version": "0.1.79", | ||
"version": "0.1.80", | ||
"description": "Convert Svelte components to TSX for type checking", | ||
@@ -22,3 +22,2 @@ "author": "David Pershouse", | ||
"@types/node": "^8.10.53", | ||
"@types/parse5": "^5.0.2", | ||
"@types/unist": "^2.0.3", | ||
@@ -28,3 +27,2 @@ "@types/vfile": "^3.0.2", | ||
"mocha": "^6.2.2", | ||
"parse5": "^5.1.0", | ||
"rollup": "^1.12.0", | ||
@@ -31,0 +29,0 @@ "rollup-plugin-commonjs": "^10.0.0", |
@@ -229,2 +229,3 @@ /** | ||
action?: string; | ||
allow?: string; | ||
allowfullscreen?: boolean; | ||
@@ -231,0 +232,0 @@ allowtransparency?: boolean; |
@@ -8,4 +8,3 @@ declare module '*.svelte' { | ||
Events extends {} = {}, | ||
Slots extends {} = {}, | ||
StrictEvents extends boolean = true | ||
Slots extends {} = {} | ||
> { | ||
@@ -52,7 +51,2 @@ // svelte2tsx-specific | ||
/** | ||
* Causes the callback function to be called whenever the component dispatches an event. | ||
* A function is returned that will remove the event listener when called. | ||
*/ | ||
$on(event: StrictEvents extends true ? never : string, handler: (e: CustomEvent) => any): void; | ||
/** | ||
* Removes a component from the DOM and triggers any `onDestroy` handlers. | ||
@@ -126,3 +120,3 @@ */ | ||
declare function __sveltets_empty(dummy: any): {}; | ||
declare function __sveltets_componentType(): AConstructorTypeOf<Svelte2TsxComponent<any, any, any, false>> | ||
declare function __sveltets_componentType(): AConstructorTypeOf<Svelte2TsxComponent<any, any, any>> | ||
declare function __sveltets_invalidate<T>(getValue: () => T): T | ||
@@ -174,2 +168,2 @@ | ||
render: () => {props?: Props, events?: Events, slots?: Slots } | ||
): AConstructorTypeOf<Svelte2TsxComponent<Props, Events, Slots, false>>; | ||
): AConstructorTypeOf<Svelte2TsxComponent<Props, Events & {[evt: string]: CustomEvent<any>;}, Slots>>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
18
240326
5953
1