1.0.1 • Published 5 years ago
@reactiff/lib-ts-test v1.0.1
test
Made with create-react-library
Install
yarn add @reactiff/lib-ts-testUsage
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: 6Setting up local development for this repo or a clone of it
In project root
yarn link
yarn install
yarn startthen to run the example
cd example
yarn link "@reactiff/lib-ts-test"
yarn install
yarn startLicense
MIT © reactiff