Skip to content

Commit f07a398

Browse files
committed
[fix] Compiler Compatibility of Decorator return value
1 parent c33ce37 commit f07a398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/decorator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function watch(
4747

4848
if (!accessor) Object.defineProperty(prototype, key, meta);
4949

50-
return meta;
50+
return meta as any;
5151
}
5252

5353
export function attribute({ constructor }: Object, key: string) {

0 commit comments

Comments
 (0)