Question on custom classes and CLI
See original GitHub issueI’ve been trying to get to include custom classes generated with cli but still can’t get around it.
My setup:
tsconfig.json
{ ..., "typeRoots": [ "./src/@types", "./node_modules/@types" ] }
src/@types/css-types.d.ts
... | 'text-pink-600' | 'text-pink-700' | 'text-pink-800' | 'text-pink-900' | 'text-primary' | 'text-nermin' | 'text-ribbon-200';
button.tsx
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Custom interactive terminal (CLI) with autocompletion on ...
Custom interactive terminal (CLI) with autocompletion on classes and objects ... I would like to have an interactive prompt similar to IPython ...
Read more >Working with CLI and missing my namespace classes inside
So its look like the main file did not load success, is there a way or work a round to load custom class/namespaces...
Read more >How To Create Custom Components in React - DigitalOcean
Open a terminal, then run the following command: ... There are two types of custom component: class-based and functional.
Read more >Command Params - laminas-cli
Laminas\Cli\Input\ChoiceParam allows specifying a set of choices from which the user may select a value, emitting a Symfony\Component\Console\Question\ ...
Read more >Write custom WP-CLI commands
Write a function based command# · Write class-based commands# · Handle CLI arguments# · WP-CLI output functions# · Include only when the WP-CLI...
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 Free
Top 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
That is correct. the issue for tracking this is here: #10. But it’s not supported yet in TS (https://github.com/microsoft/TypeScript/issues/38106).
You are welcome. Thank you!
That’s exactly what I settled on for the moment 😃
This should be a great middle ground for the moment.
Tooltips that show in what css the classes result are not to be expected in general, correct?