svelte-check
Advanced tools
Comparing version 2.8.0 to 2.8.1
@@ -8,3 +8,3 @@ // Whenever a ambient declaration changes, its number should be increased | ||
declare module '*.svelte' { | ||
export default Svelte2TsxComponent | ||
export default _SvelteComponent | ||
} | ||
@@ -57,2 +57,4 @@ // -- end svelte-ls-remove -- | ||
type _SvelteComponent<Props=any,Events=any,Slots=any> = typeof import("svelte") extends {SvelteComponentTyped: any} ? import("svelte").SvelteComponentTyped<Props,Events,Slots> : Svelte2TsxComponent<Props,Events,Slots>; | ||
interface Svelte2TsxComponentConstructorParameters<Props extends {}> { | ||
@@ -172,3 +174,3 @@ /** | ||
declare function __sveltets_1_empty(...dummy: any[]): {}; | ||
declare function __sveltets_1_componentType(): AConstructorTypeOf<Svelte2TsxComponent<any, any, any>> | ||
declare function __sveltets_1_componentType(): AConstructorTypeOf<_SvelteComponent<any, any, any>> | ||
declare function __sveltets_1_invalidate<T>(getValue: () => T): T | ||
@@ -223,3 +225,3 @@ | ||
render: {props: Props, events: Events, slots: Slots } | ||
): SvelteComponentConstructor<Svelte2TsxComponent<Props, Events, Slots>,Svelte2TsxComponentConstructorParameters<Props>>; | ||
): SvelteComponentConstructor<_SvelteComponent<Props, Events, Slots>,Svelte2TsxComponentConstructorParameters<Props>>; | ||
@@ -231,6 +233,7 @@ declare function __sveltets_1_unwrapArr<T>(arr: ArrayLike<T>): T | ||
declare function __sveltets_2_createCreateSlot<Slots = Record<string, Record<string, any>>>(): <SlotName extends keyof Slots>(slotName: SlotName, attrs: Slots[SlotName]) => Record<string, any>; | ||
declare function __sveltets_2_createComponentAny(props: Record<string, any>): Svelte2TsxComponent<any, any, any>; | ||
declare function __sveltets_2_createComponentAny(props: Record<string, any>): _SvelteComponent<any, any, any>; | ||
declare function __sveltets_2_any(...dummy: any[]): any; | ||
declare function __sveltets_2_empty(...dummy: any[]): {}; | ||
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; | ||
@@ -271,3 +274,3 @@ declare function __sveltets_2_cssProp(prop: Record<string, any>): {}; | ||
// when using Svelte2TsxComponent, more precisely the event typings in | ||
// __sveltets_2_ensureComponent<T extends new (..) => Svelte2TsxComponent<any,||any||<-this,any>>(type: T): T; | ||
// __sveltets_2_ensureComponent<T extends new (..) => _SvelteComponent<any,||any||<-this,any>>(type: T): T; | ||
// If we type it as "any", we have an error when using sth like {a: CustomEvent<any>} | ||
@@ -274,0 +277,0 @@ // If we type it as "{}", we have an error when using sth like {[evt: string]: CustomEvent<any>} |
{ | ||
"name": "svelte-check", | ||
"description": "Svelte Code Checker Terminal Interface", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"main": "./dist/src/index.js", | ||
@@ -6,0 +6,0 @@ "bin": "./bin/svelte-check", |
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
4241624
101172