Intellisense not working (TS)
See original GitHub issueimport * as CSS from 'csstype';
const style: CSS.Properties = {
alignSelf: 'stretsh', // Type error on value
colour: 'white', // Type error on property
};
alignSelf
from the frontpage does not throw an error because string
is allowed:
type AlignSelfProperty = Globals | SelfPosition | "auto" | "baseline" | "normal" | "stretch" | string;
Also with the latest typescript 2.8.1 and csstype 2.2.0 and the latest VSCode I do not get any intellisense for alignSelf
. Does it work for you?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Visual Studio Code Intellisense Typescript not working
Not really, it's really buggy on windows and linux. Intellisense seems to work fine with ".d.ts" files as long as there's a tsconfig.json ......
Read more >No Typescript intellisense - Visual Studio Feedback
I installed TS 2.4, and Intellisense stopped working. I found that Options -> Text Editor -> JavaScript/TypeScript -> Intellisense -> Use TypeScript version...
Read more >How to fix TypeScript IntelliSense not loading issue in VS Code
Next, Try checking VS Code user settings. Go to File -> Preferences-> Settings or press Ctrl + ` to open the settings window....
Read more >IntelliSense not working in VS Code - The Windows Club
How do I fix VS Code IntelliSense? · Use Keyboard Help. · Check Settings. · Restart VSCode. · Update VSCode. · Select Correct...
Read more >Typescript auto-complete not working in VSCode · Issue #39370
I'm trying to make use of Puppeteer within a ts file which works fine except the VSCode Intellisense stops working a soon as...
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
@dmahnkopf That hack is already in
3.0.0-beta.1
. Related https://github.com/frenic/csstype/pull/74@frenic, would you consider rewriting the concerned types as proposed in this TypeScript issue comment?