Skip to content

Commit ca460c6

Browse files
committed
fix: fix incorrect Reflect checking
1 parent 2700300 commit ca460c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reflect.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Vue, { VueConstructor } from 'vue'
22
import { VueClass } from './declarations'
33

4-
export const reflectionIsSupported = typeof Reflect !== undefined && Reflect.defineMetadata
4+
export const reflectionIsSupported = typeof Reflect !== 'undefined' && Reflect.defineMetadata
55

66
export function copyReflectionMetadata (
77
to: VueConstructor,

0 commit comments

Comments
 (0)