wearereasonablepeople / warped-components

:cyclone: An opinionated way to build frontend applications
MIT License
18 stars 0 forks source link

Add type declarations #15

Open paolobueno opened 6 years ago

paolobueno commented 6 years ago

Motivation

With type declarations we can get a lot of useful information mostly in the inferred props for warped components.

WARN: this needs https://github.com/cyclejs/cyclejs/pull/834, I've pushed a custom build to https://github.com/paolobueno/gitpkg-registry/releases/tag/cycle-run-v4.4.0-gitpkg but it could be someplace else.

image

See https://github.com/paolobueno/warped-ts-example for the test/example.

Changes

Verification instructions

ghost commented 6 years ago

Danger run resulted in 1 warning; to find out more, see the checks page.

Generated by :no_entry_sign: dangerJS