We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
resolveType
1 parent 0838a22 commit 9d97341Copy full SHA for 9d97341
packages/jsx-explorer/src/options.ts
@@ -8,6 +8,7 @@ export const compilerOptions: VueJSXPluginOptions = reactive({
8
optimize: false,
9
transformOn: false,
10
enableObjectSlots: true,
11
+ resolveType: false,
12
});
13
14
const App = {
@@ -86,6 +87,21 @@ const App = {
86
87
}),
88
h('label', { for: 'enableObjectSlots' }, 'enableObjectSlots'),
89
]),
90
+
91
+ // resolveType
92
+ h('li', [
93
+ h('input', {
94
+ type: 'checkbox',
95
+ id: 'resolveType',
96
+ checked: compilerOptions.resolveType,
97
+ onChange(e: Event) {
98
+ compilerOptions.resolveType = (
99
+ e.target as HTMLInputElement
100
+ ).checked;
101
+ },
102
+ }),
103
+ h('label', { for: 'resolveType' }, 'resolveType'),
104
+ ]),
105
106
107
];
0 commit comments