svelte2tsx
Advanced tools
Comparing version 0.1.151 to 0.1.152
{ | ||
"name": "svelte2tsx", | ||
"version": "0.1.151", | ||
"version": "0.1.152", | ||
"description": "Convert Svelte components to TSX for type checking", | ||
@@ -5,0 +5,0 @@ "author": "David Pershouse", |
@@ -328,2 +328,3 @@ /// <reference lib="dom" /> | ||
optimum?: number; | ||
part?: string; | ||
pattern?: string; | ||
@@ -330,0 +331,0 @@ placeholder?: string; |
@@ -94,2 +94,3 @@ declare module '*.svelte' { | ||
type SvelteAllProps = { [index: string]: any } | ||
type SveltePropsAnyFallback<Props> = {[K in keyof Props]: Props[K] extends undefined ? any : Props[K]} | ||
type SvelteRestProps = { [index: string]: any } | ||
@@ -118,5 +119,11 @@ type SvelteSlots = { [index: string]: any } | ||
render: () => {props?: Props, events?: Events, slots?: Slots } | ||
): () => {props?: Partial<Props>, events?: Events, slots?: Slots } | ||
): () => {props?: Partial<SveltePropsAnyFallback<Props>>, events?: Events, slots?: Slots } | ||
declare function __sveltets_partial_with_any<Props = {}, Events = {}, Slots = {}>( | ||
render: () => {props?: Props, events?: Events, slots?: Slots } | ||
): () => {props?: Partial<SveltePropsAnyFallback<Props>> & SvelteAllProps, events?: Events, slots?: Slots } | ||
declare function __sveltets_partial_ts<Props = {}, Events = {}, Slots = {}>( | ||
render: () => {props?: Props, events?: Events, slots?: Slots } | ||
): () => {props?: Partial<Props>, events?: Events, slots?: Slots } | ||
declare function __sveltets_partial_ts_with_any<Props = {}, Events = {}, Slots = {}>( | ||
render: () => {props?: Props, events?: Events, slots?: Slots } | ||
): () => {props?: Partial<Props> & SvelteAllProps, events?: Events, slots?: Slots } | ||
@@ -123,0 +130,0 @@ declare function __sveltets_with_any<Props = {}, Events = {}, 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
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
325892
8272