babel-plugin-transform-metadata
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -6,2 +6,3 @@ 'use strict'; | ||
exports.test2 = test2; | ||
exports.ErrorableElement = ErrorableElement; | ||
@@ -92,2 +93,12 @@ var _2 = require('../../_'); | ||
var types = [[(_3.default /*: R*/ /*: IT3*/), '213'], [(_3.default), '321']]; | ||
/*:: type ErrorableElementProps = { | ||
/* @args *-/ | ||
children: React$Element; | ||
error?: React$Element; | ||
}*/ | ||
function ErrorableElement(_ref) { | ||
var children = _ref.children; | ||
var error = _ref.error; | ||
} | ||
//# sourceMappingURL=Example.js.map |
@@ -5,2 +5,3 @@ 'use strict'; | ||
exports.test2 = test2; | ||
exports.ErrorableElement = ErrorableElement; | ||
@@ -117,2 +118,14 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
var types = [['R', '213'], ['ITest.1013217576', '321']]; | ||
/*:: type ErrorableElementProps = { | ||
/* @args *-/ | ||
children: React$Element; | ||
error?: React$Element; | ||
};*/ | ||
function ErrorableElement(_ref) { | ||
var children = _ref.children; | ||
var error = _ref.error; | ||
} | ||
_inject([{}], ErrorableElement); | ||
//# sourceMappingURL=ExampleTranspiled.js.map |
@@ -39,2 +39,7 @@ 'use strict'; | ||
} | ||
if (hasComment(property, false)) { | ||
break; | ||
} | ||
var val = typeForAnnotation(value); | ||
@@ -41,0 +46,0 @@ if (val) { |
{ | ||
"name": "babel-plugin-transform-metadata", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Reflection metadata support for classes and functions", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
73599
656