1.0.1 • Published 3 years ago
@reactiff/lib-ts-test v1.0.1
test
Made with create-react-library
Install
yarn add @reactiff/lib-ts-test
Usage
import LibTsTest from '@reactiff/lib-ts-test'
const options: LibTsTestOptions = {
operation: 'sum',
};
const x = new LibTsTest(options);
const r = x.compute(1, 2, 3);
console.log(r);
// output: 6
Setting up local development for this repo or a clone of it
In project root
yarn link
yarn install
yarn start
then to run the example
cd example
yarn link "@reactiff/lib-ts-test"
yarn install
yarn start
License
MIT © reactiff