We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae1418 commit bda0062Copy full SHA for bda0062
package.json
@@ -78,7 +78,7 @@
78
"dependencies": {
79
"@vue-macros/common": "^1.10.4",
80
"muggle-string": "^0.4.1",
81
- "ts-macro": "^0.0.5",
+ "ts-macro": "^0.1.5",
82
"unplugin": "^1.11.0"
83
},
84
"devDependencies": {
src/volar.ts
@@ -115,7 +115,10 @@ function transform({
115
}
116
117
const plugin = createPlugin<{ ignore?: string[] } | undefined>(
118
- ({ ts, vueCompilerOptions }, options) => {
+ (
119
+ { ts, vueCompilerOptions },
120
+ options = vueCompilerOptions?.reactivityFunction,
121
+ ) => {
122
return {
123
name: 'vue-reactivity-function',
124
resolveVirtualCode({ ast, source, codes }) {
0 commit comments