vize 0.699.0 → 0.700.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{config-DVHgD3ba.d.mts → config-DGQbYEUm.d.mts} +3 -3
- package/dist/{config-DVHgD3ba.d.mts.map → config-DGQbYEUm.d.mts.map} +1 -1
- package/dist/{config-C0NGrqHL.mjs → config-b4e9G6N2.mjs} +2 -2
- package/dist/config-b4e9G6N2.mjs.map +1 -0
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -2
- package/pkl/LinterConfig.pkl +36 -21
- package/pkl/jsonschema/ConfigArtifactDefinitions.pkl +10 -5
- package/pkl/jsonschema/LintRuleOptionsSchemaDefinitions.pkl +1 -1
- package/pkl/vize.pkl +30 -15
- package/schemas/vize.config.schema.json +2 -2
- package/src/types/generated.ts +1 -1
- package/src/types/rules.ts +2 -0
- package/virtual-ts-listeners.d.ts +20 -0
- package/virtual-ts.d.cts +9 -0
- package/virtual-ts.d.mts +9 -0
- package/virtual-ts.d.ts +9 -0
- package/dist/config-C0NGrqHL.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as loadConfig, c as resolveViteConfigExport, i as defineConfig, l as VITE_CONFIG_FILE_NAMES, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-
|
|
1
|
+
import { a as loadConfig, c as resolveViteConfigExport, i as defineConfig, l as VITE_CONFIG_FILE_NAMES, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-b4e9G6N2.mjs";
|
|
2
2
|
export { CONFIG_FILE_NAMES, VITE_CONFIG_FILE_NAMES, VIZE_CONFIG_JSON_SCHEMA_PATH, VIZE_CONFIG_PKL_SCHEMA_PATH, defineConfig, loadConfig, normalizeGlobalTypes, resolveConfigExport, resolveViteConfigExport };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.700.0",
|
|
4
4
|
"description": "Vize - High-performance Vue.js toolchain in Rust",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"virtual-ts-checker.d.ts",
|
|
35
35
|
"virtual-ts-emit-overloads.d.ts",
|
|
36
36
|
"virtual-ts-globals.d.ts",
|
|
37
|
+
"virtual-ts-listeners.d.ts",
|
|
37
38
|
"virtual-ts-patterns.d.ts",
|
|
38
39
|
"virtual-ts-slots.d.ts",
|
|
39
40
|
"virtual-ts-emits.d.ts",
|
|
@@ -87,7 +88,7 @@
|
|
|
87
88
|
"access": "public"
|
|
88
89
|
},
|
|
89
90
|
"dependencies": {
|
|
90
|
-
"@vizejs/native": "0.
|
|
91
|
+
"@vizejs/native": "0.700.0",
|
|
91
92
|
"oxc-transform": "0.144.0"
|
|
92
93
|
},
|
|
93
94
|
"devDependencies": {
|
package/pkl/LinterConfig.pkl
CHANGED
|
@@ -1,22 +1,37 @@
|
|
|
1
1
|
/// Linter configuration for Vize.
|
|
2
2
|
module vize.LinterConfig
|
|
3
3
|
|
|
4
|
-
typealias RuleSeverity = "off"|"warn"|"error"
|
|
5
|
-
|
|
6
|
-
typealias RuleCategory = "correctness"|"suspicious"|"style"|"perf"|"a11y"|"security"
|
|
7
|
-
|
|
8
|
-
typealias LintPreset =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
4
|
+
typealias RuleSeverity = "off" | "warn" | "error"
|
|
5
|
+
|
|
6
|
+
typealias RuleCategory = "correctness" | "suspicious" | "style" | "perf" | "a11y" | "security"
|
|
7
|
+
|
|
8
|
+
typealias LintPreset =
|
|
9
|
+
"general-recommended"
|
|
10
|
+
| "general_recommended"
|
|
11
|
+
| "generalRecommended"
|
|
12
|
+
| "happy-path"
|
|
13
|
+
| "happy_path"
|
|
14
|
+
| "happy"
|
|
15
|
+
| "default"
|
|
16
|
+
| "recommended"
|
|
17
|
+
| "opinionated"
|
|
18
|
+
| "strict"
|
|
19
|
+
| "all"
|
|
20
|
+
| "essential"
|
|
21
|
+
| "incremental"
|
|
22
|
+
| "ecosystem"
|
|
23
|
+
| "nuxt"
|
|
24
|
+
typealias TemplateComponentNameCasing = "PascalCase" | "kebab-case"
|
|
25
|
+
typealias CustomEventNameCasing = "lowercase" | "camelCase" | "kebab-case"
|
|
26
|
+
typealias PropNameCasingStyle = "camelCase" | "snake_case"
|
|
27
|
+
typealias HtmlSelfClosingStyle = "always" | "never" | "any"
|
|
28
|
+
typealias HtmlQuoteStyle = "double" | "single"
|
|
29
|
+
typealias MustacheInterpolationSpacingStyle = "always" | "never"
|
|
30
|
+
typealias HyphenationStyle = "always" | "never"
|
|
31
|
+
typealias VBindStyle = "shorthand" | "longform"
|
|
32
|
+
typealias VOnStyle = "shorthand" | "longform"
|
|
33
|
+
typealias VSlotUniformStyle = "shorthand" | "longform"
|
|
34
|
+
typealias VSlotStyleValue = VSlotUniformStyle | "v-slot"
|
|
20
35
|
|
|
21
36
|
/// A restricted global identifier for `script/no-restricted-globals`.
|
|
22
37
|
class RestrictedGlobal {
|
|
@@ -143,7 +158,7 @@ class StrictBooleanExpressionsOptions {
|
|
|
143
158
|
|
|
144
159
|
/// Style for props destructuring; matches eslint-plugin-vue's default.
|
|
145
160
|
class DefinePropsDestructuringOptions {
|
|
146
|
-
destructure: "only-when-assigned"|"always"|"never" = "
|
|
161
|
+
destructure: "only-when-assigned" | "always" | "never" = "always"
|
|
147
162
|
}
|
|
148
163
|
|
|
149
164
|
/// Options for `script/define-macros-order`.
|
|
@@ -185,13 +200,13 @@ class LintRuleOptions {
|
|
|
185
200
|
`vue/require-component-registration`: RequireComponentRegistrationOptions? = null
|
|
186
201
|
`vue/sfc-element-order`: SfcElementOrderOptions? = null
|
|
187
202
|
`vue/html-self-closing`: HtmlSelfClosingOptions? = null
|
|
188
|
-
`vue/html-quotes`: (HtmlQuoteStyle|HtmlQuotesOptions)? = null
|
|
203
|
+
`vue/html-quotes`: (HtmlQuoteStyle | HtmlQuotesOptions)? = null
|
|
189
204
|
`vue/mustache-interpolation-spacing`: MustacheInterpolationSpacingStyle? = null
|
|
190
|
-
`vue/v-on-event-hyphenation`: (HyphenationStyle|VOnEventHyphenationOptions)? = null
|
|
205
|
+
`vue/v-on-event-hyphenation`: (HyphenationStyle | VOnEventHyphenationOptions)? = null
|
|
191
206
|
`vue/v-bind-style`: VBindStyle? = null
|
|
192
207
|
`vue/v-on-style`: VOnStyle? = null
|
|
193
|
-
`vue/v-slot-style`: (VSlotUniformStyle|VSlotStyleOptions)? = null
|
|
194
|
-
`vue/attribute-hyphenation`: (HyphenationStyle|AttributeHyphenationOptions)? = null
|
|
208
|
+
`vue/v-slot-style`: (VSlotUniformStyle | VSlotStyleOptions)? = null
|
|
209
|
+
`vue/attribute-hyphenation`: (HyphenationStyle | AttributeHyphenationOptions)? = null
|
|
195
210
|
`vue/valid-v-on`: ValidVOnOptions? = null
|
|
196
211
|
`vue/valid-v-slot`: ValidVSlotOptions? = null
|
|
197
212
|
`musea/prefer-design-tokens`: MuseaPreferDesignTokensOptions? = null
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
module vize.jsonschema.ConfigArtifactDefinitions
|
|
3
3
|
|
|
4
4
|
import "@json_schema/JsonSchema.pkl"
|
|
5
|
+
|
|
5
6
|
import "LintRuleOptionsSchemaDefinitions.pkl"
|
|
6
7
|
|
|
7
8
|
experimentalsConfigDef: JsonSchema = new JsonSchema {
|
|
@@ -37,7 +38,8 @@ compilerCompatibilityConfigDef: JsonSchema = new JsonSchema {
|
|
|
37
38
|
}
|
|
38
39
|
["scriptSetupInStandalone"] = new JsonSchema {
|
|
39
40
|
type = "boolean"
|
|
40
|
-
description =
|
|
41
|
+
description =
|
|
42
|
+
"Enable <script setup> when emitting function-body output for CDN/global Vue usage"
|
|
41
43
|
default = false
|
|
42
44
|
}
|
|
43
45
|
["optionsApiVapor"] = new JsonSchema {
|
|
@@ -137,7 +139,8 @@ compilerConfigDef: JsonSchema = new JsonSchema {
|
|
|
137
139
|
}
|
|
138
140
|
["comments"] = new JsonSchema {
|
|
139
141
|
type = "boolean"
|
|
140
|
-
description =
|
|
142
|
+
description =
|
|
143
|
+
"Keep template comments. Unset follows Vue: kept in development, dropped in production"
|
|
141
144
|
}
|
|
142
145
|
["isTs"] = new JsonSchema {
|
|
143
146
|
type = "boolean"
|
|
@@ -210,14 +213,15 @@ noRestrictedMembersOptionsDef: JsonSchema = new JsonSchema {
|
|
|
210
213
|
additionalProperties = false
|
|
211
214
|
}
|
|
212
215
|
|
|
213
|
-
componentNameInTemplateCasingOptionsDef: JsonSchema =
|
|
216
|
+
componentNameInTemplateCasingOptionsDef: JsonSchema =
|
|
217
|
+
LintRuleOptionsSchemaDefinitions.componentNameInTemplateCasingOptionsDef
|
|
214
218
|
|
|
215
219
|
customEventNameCasingOptionsDef: JsonSchema = new JsonSchema {
|
|
216
220
|
type = "object"
|
|
217
221
|
properties {
|
|
218
222
|
["casing"] = new JsonSchema {
|
|
219
223
|
type = "string"
|
|
220
|
-
enum = new Listing { "camelCase"; "kebab-case" }
|
|
224
|
+
enum = new Listing { "lowercase"; "camelCase"; "kebab-case" }
|
|
221
225
|
default = "camelCase"
|
|
222
226
|
}
|
|
223
227
|
}
|
|
@@ -332,6 +336,7 @@ museaPreferDesignTokensOptionsDef: JsonSchema = new JsonSchema {
|
|
|
332
336
|
additionalProperties = false
|
|
333
337
|
}
|
|
334
338
|
|
|
335
|
-
definePropsDestructuringOptionsDef: JsonSchema =
|
|
339
|
+
definePropsDestructuringOptionsDef: JsonSchema =
|
|
340
|
+
LintRuleOptionsSchemaDefinitions.definePropsDestructuringOptionsDef
|
|
336
341
|
|
|
337
342
|
lintRuleOptionsDef: JsonSchema = LintRuleOptionsSchemaDefinitions.lintRuleOptionsDef
|
|
@@ -10,7 +10,7 @@ definePropsDestructuringOptionsDef: JsonSchema = new JsonSchema {
|
|
|
10
10
|
["destructure"] = new JsonSchema {
|
|
11
11
|
type = "string"
|
|
12
12
|
enum = new Listing { "only-when-assigned"; "always"; "never" }
|
|
13
|
-
default = "
|
|
13
|
+
default = "always"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
additionalProperties = false
|
package/pkl/vize.pkl
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
/// sourceMap = true
|
|
8
8
|
/// }
|
|
9
9
|
module vize.Config
|
|
10
|
-
import "SortImportsConfig.pkl"
|
|
11
10
|
import "LintRuleOptionTypes.pkl"
|
|
11
|
+
import "SortImportsConfig.pkl"
|
|
12
12
|
typealias CompilerMode = "module" | "function"
|
|
13
13
|
typealias TemplateSyntax = "standard" | "strict" | "quirks"
|
|
14
14
|
typealias Whitespace = "condense" | "preserve" | "vue2-line-breaks" | "vue2-preserve"
|
|
@@ -16,9 +16,24 @@ typealias JsxMode = "vdom" | "vapor"
|
|
|
16
16
|
typealias JsxCompat = "native" | "babel"
|
|
17
17
|
typealias ScriptExt = "ts" | "js"
|
|
18
18
|
typealias RuleSeverity = "off" | "warn" | "error"
|
|
19
|
-
typealias LintPreset =
|
|
19
|
+
typealias LintPreset =
|
|
20
|
+
"general-recommended"
|
|
21
|
+
| "general_recommended"
|
|
22
|
+
| "generalRecommended"
|
|
23
|
+
| "happy-path"
|
|
24
|
+
| "happy_path"
|
|
25
|
+
| "happy"
|
|
26
|
+
| "default"
|
|
27
|
+
| "recommended"
|
|
28
|
+
| "opinionated"
|
|
29
|
+
| "strict"
|
|
30
|
+
| "all"
|
|
31
|
+
| "essential"
|
|
32
|
+
| "incremental"
|
|
33
|
+
| "ecosystem"
|
|
34
|
+
| "nuxt"
|
|
20
35
|
typealias TemplateComponentNameCasing = "PascalCase" | "kebab-case"
|
|
21
|
-
typealias CustomEventNameCasing = "camelCase" | "kebab-case"
|
|
36
|
+
typealias CustomEventNameCasing = "lowercase" | "camelCase" | "kebab-case"
|
|
22
37
|
typealias PropNameCasingStyle = "camelCase" | "snake_case"
|
|
23
38
|
typealias HtmlSelfClosingStyle = "always" | "never" | "any"
|
|
24
39
|
typealias HtmlQuoteStyle = "double" | "single"
|
|
@@ -140,8 +155,8 @@ class HtmlQuotesOptions {
|
|
|
140
155
|
avoidEscape: Boolean = false
|
|
141
156
|
}
|
|
142
157
|
|
|
143
|
-
typealias VSlotUniformStyle = "shorthand"|"longform"
|
|
144
|
-
typealias VSlotStyleValue = VSlotUniformStyle|"v-slot"
|
|
158
|
+
typealias VSlotUniformStyle = "shorthand" | "longform"
|
|
159
|
+
typealias VSlotStyleValue = VSlotUniformStyle | "v-slot"
|
|
145
160
|
|
|
146
161
|
class VSlotStyleOptions {
|
|
147
162
|
atComponent: VSlotStyleValue = "v-slot"
|
|
@@ -174,7 +189,7 @@ class ContentDirectivesOptions extends LintRuleOptionTypes.ContentDirectivesOpti
|
|
|
174
189
|
|
|
175
190
|
/// Style for props destructuring; matches eslint-plugin-vue's default.
|
|
176
191
|
class DefinePropsDestructuringOptions {
|
|
177
|
-
destructure: "only-when-assigned"|"always"|"never" = "
|
|
192
|
+
destructure: "only-when-assigned" | "always" | "never" = "always"
|
|
178
193
|
}
|
|
179
194
|
|
|
180
195
|
class DefineMacrosOrderOptions {
|
|
@@ -207,13 +222,13 @@ class LintRuleOptions {
|
|
|
207
222
|
`vue/require-component-registration`: RequireComponentRegistrationOptions? = null
|
|
208
223
|
`vue/sfc-element-order`: SfcElementOrderOptions? = null
|
|
209
224
|
`vue/html-self-closing`: HtmlSelfClosingOptions? = null
|
|
210
|
-
`vue/html-quotes`: (HtmlQuoteStyle|HtmlQuotesOptions)? = null
|
|
225
|
+
`vue/html-quotes`: (HtmlQuoteStyle | HtmlQuotesOptions)? = null
|
|
211
226
|
`vue/mustache-interpolation-spacing`: MustacheInterpolationSpacingStyle? = null
|
|
212
|
-
`vue/v-on-event-hyphenation`: (HyphenationStyle|VOnEventHyphenationOptions)? = null
|
|
227
|
+
`vue/v-on-event-hyphenation`: (HyphenationStyle | VOnEventHyphenationOptions)? = null
|
|
213
228
|
`vue/v-bind-style`: VBindStyle? = null
|
|
214
229
|
`vue/v-on-style`: VOnStyle? = null
|
|
215
|
-
`vue/v-slot-style`: (VSlotUniformStyle|VSlotStyleOptions)? = null
|
|
216
|
-
`vue/attribute-hyphenation`: (HyphenationStyle|AttributeHyphenationOptions)? = null
|
|
230
|
+
`vue/v-slot-style`: (VSlotUniformStyle | VSlotStyleOptions)? = null
|
|
231
|
+
`vue/attribute-hyphenation`: (HyphenationStyle | AttributeHyphenationOptions)? = null
|
|
217
232
|
`vue/valid-v-on`: LintRuleOptionTypes.ValidVOnOptions? = null
|
|
218
233
|
`vue/valid-v-slot`: LintRuleOptionTypes.ValidVSlotOptions? = null
|
|
219
234
|
`musea/prefer-design-tokens`: MuseaPreferDesignTokensOptions? = null
|
|
@@ -284,17 +299,17 @@ class FormatterConfig {
|
|
|
284
299
|
jsxSingleQuote: Boolean? = null
|
|
285
300
|
bracketSpacing: Boolean? = null
|
|
286
301
|
bracketSameLine: Boolean? = null
|
|
287
|
-
arrowParens: ("always"|"avoid")? = null
|
|
288
|
-
endOfLine: ("lf"|"crlf"|"cr"|"auto")? = null
|
|
289
|
-
quoteProps: ("as-needed"|"consistent"|"preserve")? = null
|
|
302
|
+
arrowParens: ("always" | "avoid")? = null
|
|
303
|
+
endOfLine: ("lf" | "crlf" | "cr" | "auto")? = null
|
|
304
|
+
quoteProps: ("as-needed" | "consistent" | "preserve")? = null
|
|
290
305
|
singleAttributePerLine: Boolean? = null
|
|
291
306
|
vueIndentScriptAndStyle: Boolean? = null
|
|
292
307
|
sortAttributes: Boolean? = null
|
|
293
|
-
attributeSortOrder: ("alphabetical"|"as-written")? = null
|
|
308
|
+
attributeSortOrder: ("alphabetical" | "as-written")? = null
|
|
294
309
|
mergeBindAndNonBindAttrs: Boolean? = null
|
|
295
310
|
maxAttributesPerLine: Int? = null
|
|
296
311
|
attributeGroups: Listing<Listing<String>>? = null
|
|
297
|
-
preset: ("vize"|"prettier"|"compact"|"documentation")? = null
|
|
312
|
+
preset: ("vize" | "prettier" | "compact" | "documentation")? = null
|
|
298
313
|
normalizeDirectiveShorthands: Boolean? = null
|
|
299
314
|
sortBlocks: Boolean? = null
|
|
300
315
|
normalizeCssQuotes: Boolean? = null
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
"type": "object",
|
|
499
499
|
"properties": {
|
|
500
500
|
"destructure": {
|
|
501
|
-
"default": "
|
|
501
|
+
"default": "always",
|
|
502
502
|
"type": "string",
|
|
503
503
|
"enum": ["only-when-assigned", "always", "never"]
|
|
504
504
|
}
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
"casing": {
|
|
590
590
|
"default": "camelCase",
|
|
591
591
|
"type": "string",
|
|
592
|
-
"enum": ["camelCase", "kebab-case"]
|
|
592
|
+
"enum": ["lowercase", "camelCase", "kebab-case"]
|
|
593
593
|
}
|
|
594
594
|
},
|
|
595
595
|
"additionalProperties": false
|
package/src/types/generated.ts
CHANGED
|
@@ -288,7 +288,7 @@ export interface LintRuleOptions {
|
|
|
288
288
|
globals?: string[];
|
|
289
289
|
};
|
|
290
290
|
"script/custom-event-name-casing"?: {
|
|
291
|
-
casing?: "camelCase" | "kebab-case";
|
|
291
|
+
casing?: "lowercase" | "camelCase" | "kebab-case";
|
|
292
292
|
};
|
|
293
293
|
"vue/prop-name-casing"?: {
|
|
294
294
|
casing?: "camelCase" | "snake_case";
|
package/src/types/rules.ts
CHANGED
|
@@ -76,6 +76,7 @@ export const LINT_RULE_NAMES = [
|
|
|
76
76
|
"petite-vue/valid-v-effect",
|
|
77
77
|
"petite-vue/valid-v-scope",
|
|
78
78
|
"script/component-options-name-casing",
|
|
79
|
+
"script/consistent-props-emits-key-quotes",
|
|
79
80
|
"script/custom-event-name-casing",
|
|
80
81
|
"script/define-emits-declaration",
|
|
81
82
|
"script/define-macros-order",
|
|
@@ -134,6 +135,7 @@ export const LINT_RULE_NAMES = [
|
|
|
134
135
|
"script/prefer-use-slots",
|
|
135
136
|
"script/prefer-use-template-ref",
|
|
136
137
|
"script/require-default-prop",
|
|
138
|
+
"script/require-define-component",
|
|
137
139
|
"script/require-explicit-emits",
|
|
138
140
|
"script/require-explicit-slots",
|
|
139
141
|
"script/require-function-return-type",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Generated from the canonical listener argument relations. Do not edit.
|
|
2
|
+
|
|
3
|
+
type $ListenerMissing<__P, __Raw extends string | number | symbol> = [__Raw] extends [never]
|
|
4
|
+
? unknown[]
|
|
5
|
+
: __P extends { [__K in __Raw]?: (...args: infer __A) => any }
|
|
6
|
+
? __A
|
|
7
|
+
: unknown[];
|
|
8
|
+
export type $ListenerArgs<
|
|
9
|
+
__P,
|
|
10
|
+
__K extends string | number | symbol,
|
|
11
|
+
__Raw extends string | number | symbol = never,
|
|
12
|
+
> = __P extends { [__Q in __K]?: (...args: infer __A) => any }
|
|
13
|
+
? __A
|
|
14
|
+
: __P extends { [__Q in __K]?: infer __H }
|
|
15
|
+
? [Extract<NonNullable<__H>, (...args: any) => any>] extends [never]
|
|
16
|
+
? $ListenerMissing<__P, __Raw>
|
|
17
|
+
: Extract<NonNullable<__H>, (...args: any) => any> extends (...args: infer __A) => any
|
|
18
|
+
? __A
|
|
19
|
+
: $ListenerMissing<__P, __Raw>
|
|
20
|
+
: $ListenerMissing<__P, __Raw>;
|
package/virtual-ts.d.cts
CHANGED
|
@@ -425,3 +425,12 @@ export type $SlotChildren<__S, __K extends PropertyKey> =
|
|
|
425
425
|
export type $ProvidedSlotChildren<__T extends unknown[]> = __T extends [infer __Only]
|
|
426
426
|
? __Only | __T
|
|
427
427
|
: __T;
|
|
428
|
+
|
|
429
|
+
import type * as __vizeListenerTypes from "./virtual-ts-listeners.js" with {
|
|
430
|
+
"resolution-mode": "import",
|
|
431
|
+
};
|
|
432
|
+
export type $ListenerArgs<
|
|
433
|
+
__P,
|
|
434
|
+
__K extends string | number | symbol,
|
|
435
|
+
__Raw extends string | number | symbol = never,
|
|
436
|
+
> = __vizeListenerTypes.$ListenerArgs<__P, __K, __Raw>;
|
package/virtual-ts.d.mts
CHANGED
|
@@ -425,3 +425,12 @@ export type $SlotChildren<__S, __K extends PropertyKey> =
|
|
|
425
425
|
export type $ProvidedSlotChildren<__T extends unknown[]> = __T extends [infer __Only]
|
|
426
426
|
? __Only | __T
|
|
427
427
|
: __T;
|
|
428
|
+
|
|
429
|
+
import type * as __vizeListenerTypes from "./virtual-ts-listeners.js" with {
|
|
430
|
+
"resolution-mode": "import",
|
|
431
|
+
};
|
|
432
|
+
export type $ListenerArgs<
|
|
433
|
+
__P,
|
|
434
|
+
__K extends string | number | symbol,
|
|
435
|
+
__Raw extends string | number | symbol = never,
|
|
436
|
+
> = __vizeListenerTypes.$ListenerArgs<__P, __K, __Raw>;
|
package/virtual-ts.d.ts
CHANGED
|
@@ -425,3 +425,12 @@ export type $SlotChildren<__S, __K extends PropertyKey> =
|
|
|
425
425
|
export type $ProvidedSlotChildren<__T extends unknown[]> = __T extends [infer __Only]
|
|
426
426
|
? __Only | __T
|
|
427
427
|
: __T;
|
|
428
|
+
|
|
429
|
+
import type * as __vizeListenerTypes from "./virtual-ts-listeners.js" with {
|
|
430
|
+
"resolution-mode": "import",
|
|
431
|
+
};
|
|
432
|
+
export type $ListenerArgs<
|
|
433
|
+
__P,
|
|
434
|
+
__K extends string | number | symbol,
|
|
435
|
+
__Raw extends string | number | symbol = never,
|
|
436
|
+
> = __vizeListenerTypes.$ListenerArgs<__P, __K, __Raw>;
|