Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.12 KB

README.md

File metadata and controls

30 lines (18 loc) · 1.12 KB

Hyperapp Types Tests

This is the dtslint-based types test suite for the TypeScript definitions used in Hyperapp. A copy of Hyperapp's type definitions is kept here for convenience and may sometimes include proposed changes.

Setup & Usage

  1. Make sure you have Node.js installed.

  2. Download or clone this repo into a new folder.

  3. Run these CLI commands within that folder:

    npm install
    npm test

Unsolved Cases

Some test cases are currently unsolved and will be shown when you run npm test.

Why is dtslint used intead of tsd?

dtslint makes it convenient to have a local copy of the type definitions for testing which is useful for testing out experimental changes. I don't know how to do that in tsd if it's even possible at all.

Contributing

New test cases are always welcome!

License

MIT