Skip to content

Commit

Permalink
fix(vue): fix type issue in test
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Feb 21, 2025
1 parent f229f6a commit 80e9122
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v22.13.0
2 changes: 1 addition & 1 deletion packages/angular/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

export default {
input: 'dist/index.js',
Expand Down
6 changes: 6 additions & 0 deletions packages/vue/src/generate-vue-component.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ export const MyComponent = /*@__PURE__*/ defineContainer<Components.MyComponent>
resolved: '',
references: {},
},
getter: true,
setter: true,
docs: {
text: '',
tags: [],
Expand Down Expand Up @@ -114,6 +116,8 @@ export const MyComponent = /*@__PURE__*/ defineContainer<Components.MyComponent,
optional: false,
required: false,
type: 'string',
getter: true,
setter: true,
complexType: {
original: '',
resolved: '',
Expand Down Expand Up @@ -204,6 +208,8 @@ export const MyComponent = /*@__PURE__*/ defineContainer<Components.MyComponent>
optional: false,
required: false,
type: 'string',
getter: true,
setter: true,
complexType: {
original: '',
resolved: '',
Expand Down

0 comments on commit 80e9122

Please sign in to comment.