flowtype-interfaces-sagui

WIP: trying out bundling Sagui's default flowtype interfaces


License
ISC
Install
npm install flowtype-interfaces-sagui@0.1.0

Documentation

flowtype-interfaces-sagui

Flowtype interface declarations for the built-in Sagui test utilities.

Why

The purpose of this repo is to group Flowtype declarations meant to be loaded automatically in the .flowconfig as libs in Sagui bootstrapped projects. The main reason not to use the larger repository Flow-typed is that the vast majority of the type declarations in there are not needed by Sagui installations.

Type declarations for the Sagui-bundled testing tools (Jasmine, Sinon) are also done in a very liberal way so that no Jasmine structure related errors are thrown by the type checker. The reasoning behind this is that the intent of type checking the test code is to verify the types involved in the actual example content, not of the ones related to the testing tool (such as the describe and it functions).

License

ISC License.