Comments (3)
Hey @szeck87. I'm familiar with TypeScript, although I've never worked with DefinitelyTyped. How can I help?
from yargs-interactive.
It's basically a giant repository of typings for projects that aren't written in Typescript or don't provide their own typings. I had to create my own for https://github.com/Unibeautify/create-unibeautify-beautifier/blob/master/src/create-unibeautify-beautifier.ts so I had typings and didn't have to use require()
.
Since choices
is in inquirer, the OptionData
interface I have should probably extend inquirer's Question interface. I'm not an expert on .d.ts
files, but that's a the gist of it.
from yargs-interactive.
Closing this issues as the typings are already present in DefintelyTyped. Thanks @stevenzeck!
from yargs-interactive.
Related Issues (9)
- How to use the list type from inquirer? HOT 2
- Supplying argument does not remove prompt in `if-empty` mode HOT 3
- Checkbox list doesn't work on Linux HOT 1
- yargs fails when `choices` is set to a function HOT 3
- Following your example adding --interactive doesn't allow interactive mode HOT 3
- How do you use it with commands? HOT 4
- Describe (message) accepts a function, but Yargs throws an error anyway and works without any issues. HOT 2
- Prompt only for missing args? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yargs-interactive.