Fredrik Nicol

Results 61 comments of Fredrik Nicol

Template string literals will be used to some extent but we need to ensure the performance and be able to support TS < 4.1 with a separate definition file (without...

Thank you for digging into this! I think even with regex validation of string value types will be hard to work with. Image the error message you will receive when...

It sounds like a good idea. But CSSType should all be about TypeScript types and be independent from third-party libraries. But you're always able to fork and release it yourself...

That's right. The current generator is only "looking" in the `text-decoration` row and not the "Shorthand" row. This needs to be fixed. Thanks!

This would be nice. The problem is that we need raw data. [This issue](https://github.com/mdn/data/issues/59) will hopefully solve it but nothing has happened in over a year 😞

I concider these features to be handled by vendors the way they like it. The problem is that there's endless different combinations of @media and there's no way to type...

The whole purpose of CSSType is to autogenerate types from other sources (with a small exception of SVG CSS properties 😉). The only source I could find of CSS media...

Interesting, that looks useful for sure. Thanks 👍

The [`overlay` value is deprecated](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow#Values) and therefore not included. What you can do to get rid of the type error is to do: `{ ['overflowX' as any]: 'overlay' }` as...