/hyperapp-types-tests

The test suite for Hyperapp's TypeScript definitions.

Primary LanguageTypeScriptMIT LicenseMIT

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