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 12c5b24 commit 95d9e65Copy full SHA for 95d9e65
src/component.ts
@@ -34,7 +34,7 @@ export function componentFactory (
34
options[key] = proto[key]
35
return
36
}
37
- const descriptor = Object.getOwnPropertyDescriptor(proto, key)
+ const descriptor = Object.getOwnPropertyDescriptor(proto, key)!
38
if (typeof descriptor.value === 'function') {
39
// methods
40
(options.methods || (options.methods = {}))[key] = descriptor.value
0 commit comments