You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relevant information for anyone writing Typings definitions and wanting to execute tests.
I saw @unional has been installing definitions into themselves as part of the dev dependencies, but there's actually a simpler way - use typings bundle. I implemented this while testing https://github.com/typed-typings/npm-batch, and I combined it with ts-node to create a simple test suite of both the runtime and compile time since ts-node will crash on compiler errors.
Relevant information for anyone writing Typings definitions and wanting to execute tests.
I saw @unional has been installing definitions into themselves as part of the dev dependencies, but there's actually a simpler way - use
typings bundle
. I implemented this while testing https://github.com/typed-typings/npm-batch, and I combined it withts-node
to create a simple test suite of both the runtime and compile time sincets-node
will crash on compiler errors.Relevant implementation: https://github.com/typed-typings/npm-batch/blob/master/package.json
I'll keep this open for anyone that needs guidance on implementing Typings.
The text was updated successfully, but these errors were encountered: