@airma/react-state
Advanced tools
Comparing version 15.0.7 to 15.0.8
{ | ||
"name": "@airma/react-state", | ||
"version": "15.0.7", | ||
"version": "15.0.8", | ||
"module": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "index.d.ts", |
@@ -117,3 +117,3 @@ [![npm][npm-image]][npm-url] | ||
decrease(){ | ||
return 'state - 1'; | ||
return state - 1; | ||
} | ||
@@ -140,1 +140,9 @@ }; | ||
## typescript check | ||
`@airma/react-state` is a typescript support library, you can use it with `typescript` for a better experience. It checks the input `state` type is same with param `state` type, the returning `object.state` type is same with the param `state` type, the method returning type is same with param `state` type, and so on. | ||
## End | ||
We hope you can enjoy this tool, and help us to enhance it in future. | ||
7457
147