Skip to content

Commit

Permalink
fix: fix incorrect Reflect checking
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsn committed Oct 15, 2018
1 parent 2700300 commit ca460c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reflect.ts
@@ -1,7 +1,7 @@
import Vue, { VueConstructor } from 'vue'
import { VueClass } from './declarations'

export const reflectionIsSupported = typeof Reflect !== undefined && Reflect.defineMetadata
export const reflectionIsSupported = typeof Reflect !== 'undefined' && Reflect.defineMetadata

export function copyReflectionMetadata (
to: VueConstructor,
Expand Down

0 comments on commit ca460c6

Please sign in to comment.