mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
* Fix incorrect import specifiers * Change imports in `inquirer` tests to match ESM style * Use CommonJS version of `inquirer` in CommonJS modules * Convert imports in `inquirer-npm-name` * Add a type representing only the prompt-function * Make types in `inquirer-npm-name` less strict * Add tests reflecting the changes * Fix typo * Add documentation comments to the `PromptFunction`
32 lines
673 B
JSON
32 lines
673 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"lib": [
|
|
"es6"
|
|
],
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"baseUrl": "../",
|
|
"paths": {
|
|
"inquirer": [
|
|
"inquirer/v8"
|
|
],
|
|
"inquirer/*": [
|
|
"inquirer/v8/*"
|
|
]
|
|
},
|
|
"typeRoots": [
|
|
"../"
|
|
],
|
|
"types": [],
|
|
"noEmit": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"files": [
|
|
"index.d.ts",
|
|
"inquirer-npm-name-tests.ts"
|
|
]
|
|
}
|