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.
-
Make sure you have Node.js installed.
-
Download or clone this repo into a new folder.
-
Run these CLI commands within that folder:
npm install npm test
Some test cases are currently unsolved and will be shown when you run npm test
.
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.
New test cases are always welcome!