DefinitelyTyped/types/react-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

105 lines
3.7 KiB
JSON

{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"jsx": "react",
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"lib/animated/Input.d.ts",
"lib/animated/MultiValue.d.ts",
"lib/animated/Placeholder.d.ts",
"lib/animated/SingleValue.d.ts",
"lib/animated/ValueContainer.d.ts",
"lib/animated/transitions.d.ts",
"lib/animated/index.d.ts",
"lib/components/containers.d.ts",
"lib/components/Control.d.ts",
"lib/components/Group.d.ts",
"lib/components/Input.d.ts",
"lib/components/Menu.d.ts",
"lib/components/MultiValue.d.ts",
"lib/components/Option.d.ts",
"lib/components/Placeholder.d.ts",
"lib/components/SingleValue.d.ts",
"lib/components/indicators.d.ts",
"lib/components/index.d.ts",
"lib/accessibility/index.d.ts",
"lib/theme.d.ts",
"lib/Creatable.d.ts",
"lib/Async.d.ts",
"lib/AsyncCreatable.d.ts",
"lib/filters.d.ts",
"lib/styles.d.ts",
"lib/stateManager.d.ts",
"lib/builtins.d.ts",
"lib/utils.d.ts",
"lib/diacritics.d.ts",
"lib/types.d.ts",
"lib/Select.d.ts",
"test/data.ts",
"test/styled-components.tsx",
"test/AtlaskitDummy.ts",
"test/ChronoNodeDummy.ts",
"test/examples/AccessingInternals.tsx",
"test/examples/AnimatedMulti.tsx",
"test/examples/AsyncCallbacks.tsx",
"test/examples/AsyncCreatable.tsx",
"test/examples/AsyncMulti.tsx",
"test/examples/AsyncPromises.tsx",
"test/examples/BasicGrouped.tsx",
"test/examples/BasicMulti.tsx",
"test/examples/BasicSingle.tsx",
"test/examples/ControlledMenu.tsx",
"test/examples/CreatableAdvanced.tsx",
"test/examples/CreatableInputOnly.tsx",
"test/examples/CreatableMulti.tsx",
"test/examples/CreatableSingle.tsx",
"test/examples/CreateFilter.tsx",
"test/examples/CustomClearIndicator.tsx",
"test/examples/CustomControl.tsx",
"test/examples/CustomDropdownIndicator.tsx",
"test/examples/CustomFilterOptions.tsx",
"test/examples/CustomGetOptionLabel.tsx",
"test/examples/CustomGroup.tsx",
"test/examples/CustomGroupHeading.tsx",
"test/examples/CustomIndicatorsContainer.tsx",
"test/examples/CustomIndicatorSeparator.tsx",
"test/examples/CustomInput.tsx",
"test/examples/CustomIsOptionDisabled.tsx",
"test/examples/CustomLoadingIndicator.tsx",
"test/examples/CustomLoadingMessage.tsx",
"test/examples/CustomMenu.tsx",
"test/examples/CustomMenuList.tsx",
"test/examples/CustomMultiValueContainer.tsx",
"test/examples/CustomMultiValueLabel.tsx",
"test/examples/CustomMultiValueRemove.tsx",
"test/examples/CustomNoOptionsMessage.tsx",
"test/examples/CustomOption.tsx",
"test/examples/CustomPlaceholder.tsx",
"test/examples/CustomSelectContainer.tsx",
"test/examples/CustomSingleValue.tsx",
"test/examples/CustomValueContainer.tsx",
"test/examples/Experimental.tsx",
"test/examples/MenuPortal.tsx",
"test/examples/OnSelectResetsInput.tsx",
"test/examples/Popout.tsx",
"test/examples/StyledMulti.tsx",
"test/examples/StyledSingle.tsx"
]
}