Skip to content

Commit

Permalink
fix: fix type error in coalesce-vue under vue 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed Dec 14, 2023
1 parent a63f7da commit e263fe8
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 184 deletions.
2 changes: 1 addition & 1 deletion src/coalesce-vue/src/viewmodel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ export abstract class ViewModel<

initialDirtyData?: DeepPartial<TModel> | null
) {
this.$data = reactive(convertToModel({}, $metadata));
this.$data = reactive(convertToModel({}, $metadata)) as any;

Object.defineProperty(this, "$stableId", {
enumerable: true, // Enumerable so visible in vue devtools
Expand Down
Loading

0 comments on commit e263fe8

Please sign in to comment.