Fredrik Nicol
Fredrik Nicol
Combined literals would expand many properties and get rid of the `| string`. I did some smaller try outs but I realized that the syntax parser needs to group by...
https://devblogs.microsoft.com/typescript/announcing-typescript-3-1/#version-redirects-for-typescript-via-typesversions
Using [CSSTree Definition Syntax](https://github.com/csstree/csstree/blob/master/docs/definition-syntax.md) will provide more accurate and more detailed AST information that will be useful to generate Template Literal Types.
If not, why? Should Flow types be removed or moved to a separate package?
CSS properties are deprecated as they are marked as deprecated by the spec or are removed by vendor. But CSS keywords lives on forever at the moment (https://github.com/frenic/csstype/pull/36). Maybe this...
Even small changes may [have impact on third-party libraries](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23116#issuecomment-370103160) that uses CSSType (like JSS, Styletron and Glitz) and tests against these would provide safety when publishing new releases. Not sure...
This PR adds support for [`expr1 ??= expr2`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_nullish_assignment), [`expr1 ||= expr2`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_OR_assignment) and [`expr1 &&= expr2`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_AND_assignment). These are perfectly fine to use with Typescript but it ends up with `Unexpected token:...
As mentioned in https://github.com/frenic/csstype/issues/58. These properties are valid and commonly used as fallback to an old spec of CSS Grid. - [`-ms-grid-row`](https://technet.microsoft.com/en-us/hh772254(v=vs.71)) - [`-ms-grid-row-span`](https://msdn.microsoft.com/en-us/ie/hh772260(v=vs.94)) - [`-ms-grid-row-align`](https://technet.microsoft.com/en-us/windows/hh772256(v=vs.60)) - [`-ms-grid-column`](https://technet.microsoft.com/en-us/hh772242(v=vs.71)) - [`-ms-grid-column-span`](https://technet.microsoft.com/en-us/hh772248(v=vs.71))...
Alphabetically sorted data provides maintainability for large sheets. A linter that verifies the sort order would be nice! Maybe even with a `--fixup` flag that solves it for you (?)....
Fixes #62