Skip to content

Commit bda0062

Browse files
committed
chore: update deps
1 parent 3ae1418 commit bda0062

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"dependencies": {
7979
"@vue-macros/common": "^1.10.4",
8080
"muggle-string": "^0.4.1",
81-
"ts-macro": "^0.0.5",
81+
"ts-macro": "^0.1.5",
8282
"unplugin": "^1.11.0"
8383
},
8484
"devDependencies": {

src/volar.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ function transform({
115115
}
116116

117117
const plugin = createPlugin<{ ignore?: string[] } | undefined>(
118-
({ ts, vueCompilerOptions }, options) => {
118+
(
119+
{ ts, vueCompilerOptions },
120+
options = vueCompilerOptions?.reactivityFunction,
121+
) => {
119122
return {
120123
name: 'vue-reactivity-function',
121124
resolveVirtualCode({ ast, source, codes }) {

0 commit comments

Comments
 (0)