This is our WIP place to get this types repository in shape before getting it into DefinitelyTyped.
yarn install
- Start compilation via
yarn watch
- Ensure you're
yarn watch
ing - Add a test in
tests/
to exercise the new types. - Add new an entry for any new tests in
tsconfig.json
- See tests fail via compilation errors
- Add types, see tests pass via compilation successes
To use your local copy in a project that depends on this, you can yarn link
it.
- Let yarn know this is the copy to use when linking:
yarn link
- Link the local copy in our other project (in that project's root):
yarn link @types/gearshaft
If you want to stop using the local copy, you can yarn unlink @types/gearshaft
from the dependant project's root.