Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Suite for Writing Typings #150

Open
blakeembrey opened this issue Feb 27, 2016 · 2 comments
Open

Test Suite for Writing Typings #150

blakeembrey opened this issue Feb 27, 2016 · 2 comments
Labels

Comments

@blakeembrey
Copy link
Member

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 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.

@unional
Copy link
Member

unional commented Feb 27, 2016

Thank! I'll try it out and update generator-typings

@louy
Copy link
Member

louy commented Mar 6, 2016

That's nice! I'll give it a try next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants