cssinjs / istf-spec

Interoperable Style Transfer Format [DRAFT]
247 stars 8 forks source link

Typings #7

Closed kof closed 7 years ago

kof commented 7 years ago

Currently the biggest blocker for typings are:

  1. No standard js objects
  2. Shorthands

Shorthands it a problem because we can't create custom types in flow or typescript for something like 1px solid red. See for e.g. https://github.com/facebook/flow/issues/3933

kof commented 7 years ago

I think nobody is going to type this intermediate format, this issue was created with cssinjs objects in mind.