cssinjs / jss

JSS is an authoring tool for CSS which uses JavaScript as a host language.
https://cssinjs.org
MIT License
7.06k stars 397 forks source link

Flowtype definitions JSON DSL #375

Closed kof closed 5 years ago

kof commented 7 years ago

We have actually CSSOM types, which we can use to provide the JSON types for JSS. https://github.com/facebook/flow/blob/master/lib/cssom.js#L70

jhessin commented 6 years ago

Note my .flowconfig (produces no errors):

[ignore]

[include]
src/

[libs]
node_modules/jss/flow-typed

[lints]

[options]
unsafe.enable_getters_and_setters = true

[strict]
kof commented 5 years ago

closing in favor of https://github.com/cssinjs/jss/issues/776