babel-plugin-flow-type-getter
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -130,3 +130,3 @@ const babylon = require('babylon'); | ||
if(left.argument.computed) { | ||
if(t.isStringLiteral(eft.argument.property)) { | ||
if(t.isStringLiteral(left.argument.property)) { | ||
expression = `${object_string}.${customFunctionName}()['${left.argument.property.value}'].types.find(__type => __type == '${right_value}') != null`; | ||
@@ -133,0 +133,0 @@ } |
{ | ||
"name": "babel-plugin-flow-type-getter", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Access flow types from uninstantiated classes.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
57517