DefinitelyTyped/types/react-virtualized-select/tsconfig.json
Claas Ahlrichs 7c33a95827 added definitions for react select (v2) (#27737)
* moved existing "react-select" definitions into "v1" directory

* updated references to V1 of "react-select"

* dts-gen --dt --name react-select --template module

* added placeholders for react-select definitions and tests

* fixed imports of react and react-select

* updated config. files

* drafted definitions for react-select

* updated definitions for react-select

* made Props in stateManager.d.ts and Select.d.ts optional

* handle grouped options in Select.d.ts

* updated definitions for react-select

* resolved merge conflicts

* fixed issues identified by "npm test"

* updated type of "menuPortalTarget"

* remove OptionType type and introduce throughout as a generic parameter

* add an extra type

* re-enable interface-over-type-literal lint rule

* parameterize GroupedOptionsType
after some consideration this should be parameterized, typically with a union type, see Grouped example which is a select of `ColourOption | FlavourOption`
2018-08-02 16:41:18 -07:00

33 lines
733 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6",
"dom"
],
"jsx": "react",
"noImplicitAny": true,
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"paths": {
"react-select": [
"react-select/v1"
],
"react-select/*": [
"react-select/v1/*"
]
},
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"react-virtualized-select-tests.tsx"
]
}