Skip to content

Commit c462108

Browse files
authored
Added code to fix vuejs#536
Added a call to forward metadata from the provided object's prototype
1 parent 1643346 commit c462108

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/reflect.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export function copyReflectionMetadata (
1313
from: VueClass<Vue>
1414
) {
1515
forwardMetadata(to, from)
16+
forwardMetadata(to.prototype, from.prototype)
1617

1718
Object.getOwnPropertyNames(from.prototype).forEach(key => {
1819
forwardMetadata(to.prototype, from.prototype, key)

0 commit comments

Comments
 (0)