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 daf90bf commit 2877447Copy full SHA for 2877447
packages/app-frontend/src/util/reactivity.ts
@@ -14,7 +14,7 @@ export function nonReactive<T> (ref: Ref<T>) {
14
return holder
15
}
16
17
-export function addNonReactiveProperties (target: any, props: any) {
+export function addNonReactiveProperties<T = any> (target: T, props: Partial<T>) {
18
for (const key in props) {
19
Object.defineProperty(target, key, {
20
value: props[key],
0 commit comments