`display` should not allow an arbitrary string
See original GitHub issueWhat is the | string
for here?
https://github.com/frenic/csstype/blob/e48d1c5c08896a8555829d76ba5ee9f022f7c964/index.d.ts#L1831
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
String functions and how to use them - Microsoft Support
Display the Expression Builder in a desktop database · Open a desktop database (. · Press F11 to open the Navigation Pane, if...
Read more >Strings on the Web: Language and Direction Metadata - W3C
This document describes the best practices for identifying language and base direction for strings used on the Web.
Read more >Handling text — strings in JavaScript - Learn web development
These lines don't work because any text without quotes around it is assumed to be a variable name, property name, a reserved word,...
Read more >Basic Input, Output, and String Formatting in Python
In this step-by-step Python tutorial, you'll learn how to take user input from the keyboard with the built-in function input(), how to display...
Read more >Python Strings | Python Education - Google Developers
The [ ] syntax and the len() function actually work on any sequence ... Unlike Java, the '+' does not automatically convert numbers...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, I never knew
display
supported multiple values.According to spec, the syntax tells us that you’re able to use space separated values. So fallback to
string
is necessary. But a goal I have is thatdisplay
won’t do that so I’m currently experimenting of combining data types with keywords to prevent that. So the result will be like:'block' | 'flow' | 'block flow' | 'flow block' | ...