svelte-check
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -123,2 +123,3 @@ // Whenever a ambient declaration changes, its number should be increased | ||
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): {}; | ||
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]; | ||
@@ -226,2 +227,3 @@ declare function __sveltets_1_ensureRightProps<Props>(props: Props): {}; | ||
declare function __sveltets_2_any(...dummy: any[]): any; | ||
declare function __sveltets_2_empty(...dummy: any[]): {}; | ||
@@ -257,5 +259,6 @@ declare function __sveltets_2_cssProp(prop: Record<string, any>): {}; | ||
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): {}; | ||
declare function __sveltets_2_typeAsComponent<Component>(c: Component): Component extends Svelte2TsxComponent ? Component : Svelte2TsxComponent; | ||
declare function __sveltets_2_ensureComponent<T extends new (args: {target: any, props?: any}) => Svelte2TsxComponent<any, any, any>>(type: T): T extends never ? Svelte2TsxComponent<any, any, any> : T; | ||
declare function __sveltets_2_ensureArray<T extends ArrayLike<unknown>>(array: T): T extends ArrayLike<infer U> ? U[] : any[]; |
{ | ||
"name": "svelte-check", | ||
"description": "Svelte Code Checker Terminal Interface", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"main": "./dist/src/index.js", | ||
@@ -6,0 +6,0 @@ "bin": "./bin/svelte-check", |
@@ -54,3 +54,3 @@ # Check your code with svelte-check | ||
| Flag | Description | | ||
| --------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| --------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `--workspace <path>` | Path to your workspace. All subdirectories except node_modules and those listed in `--ignore` are checked | | ||
@@ -66,3 +66,3 @@ | `--output <human\|human-verbose\|machine>` | | ||
| `--threshold <error\|warning>` | Filters the diagnostics to display. `error` will output only errors while `warning` will output warnings and errors. | | ||
| `--use-new-transformation <true | false>` | Svelte files need to be transformed to something that TypeScript understands for intellisense. Version 2.0 of this transformation can be enabled with this setting. It will be the default, soon. Please try it out and provide feedback | | ||
| `--use-new-transformation <true\|false>` | Svelte files need to be transformed to something that TypeScript understands for intellisense. Version 2.0 of this transformation can be enabled with this setting. It will be the default, soon. Please try it out and provide feedback | | ||
@@ -69,0 +69,0 @@ ### FAQ |
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
4202193
100379