@speedsters/react
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -46,3 +46,3 @@ "use strict"; | ||
}; | ||
IReact.prototype.component = function (_this, options) { | ||
IReact.prototype.classComponent = function (_this, options) { | ||
var _this_1 = this; | ||
@@ -49,0 +49,0 @@ var _a, _b; |
@@ -5,5 +5,5 @@ "use strict"; | ||
connect: function () { return SReact; }, | ||
component: function () { }, | ||
classComponent: function () { }, | ||
data: {}, | ||
}; | ||
exports.default = SReact; |
{ | ||
"name": "@speedsters/react", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A simple way of testing your react application performance", | ||
@@ -19,3 +19,4 @@ "main": "./cjs/index.js", | ||
"clean": "rimraf esnext types cjs", | ||
"test": "jest" | ||
"test": "jest", | ||
"prepublish": "yarn run build" | ||
}, | ||
@@ -22,0 +23,0 @@ "author": "Diego Oliveira <diegoddox@gmail.com>", |
@@ -9,5 +9,5 @@ import { ConnectionOptions, IReact as JsnpReactType, ReactComponentOptions } from '@speedsters/type'; | ||
connect(options?: ConnectionOptions): this; | ||
component(_this: any, options?: ReactComponentOptions): any; | ||
classComponent(_this: any, options?: ReactComponentOptions): any; | ||
} | ||
declare const jsnpr: IReact; | ||
export default jsnpr; |
10292