Skip to content

Commit

Permalink
adds react-autosize type from recent update (#2930)
Browse files Browse the repository at this point in the history
* adds react-autosize type from recent update

* moves @types/react-input-autosize from devDependencies to dependencies

to reflect that fact that, as of the ComboBox -> TypeScript in #2838 it is now actually a prod dependency
  • Loading branch information
dimitropoulos authored Feb 27, 2020
1 parent 9bb07fb commit c1c810a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"@types/lodash": "^4.14.116",
"@types/numeral": "^0.0.25",
"@types/react-beautiful-dnd": "^10.1.0",
"@types/react-input-autosize": "^2.0.2",
"@types/react-virtualized": "^9.18.7",
"chroma-js": "^2.0.4",
"classnames": "^2.2.5",
Expand Down Expand Up @@ -89,7 +90,6 @@
"@types/jest": "^24.0.6",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.4",
"@types/react-input-autosize": "^2.0.1",
"@types/react-is": "^16.7.1",
"@types/resize-observer-browser": "^0.1.1",
"@types/tabbable": "^3.1.0",
Expand Down
1 change: 0 additions & 1 deletion src/components/combo_box/combo_box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,6 @@ export class EuiComboBox<T> extends Component<
// TODO: This will need to be called once the actual stylesheet loads.
setTimeout(() => {
if (this.autoSizeInputRefInstance) {
// @ts-ignore https://github.com/DefinitelyTyped/DefinitelyTyped/pull/42467
this.autoSizeInputRefInstance.copyInputStyles();
}
}, 100);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1271,10 +1271,10 @@
dependencies:
"@types/react" "*"

"@types/react-input-autosize@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@types/react-input-autosize/-/react-input-autosize-2.0.1.tgz#04ac4b532128c98532352042b6c7af8b5d3f52ca"
integrity sha512-vsmqA6Pp5IyMZv3C7x7mNM8lqikfWQ4lCWsoVk/w+HZ2Y3KOdFk6ad4jsQeltXn/UaO+YUZLtWdMIjLLIeCxBA==
"@types/react-input-autosize@^2.0.2":
version "2.0.2"
resolved "https://registry.yarnpkg.com/@types/react-input-autosize/-/react-input-autosize-2.0.2.tgz#6ccdfb100c21b6096c1a04c3c3fac196b0ce61c1"
integrity sha512-QzewaD5kog7c6w5e3dretb+50oM8RDdDvVumQKCtPjI6VHyR8lA/HxCiTrv5l9Vgbi4NCitYuix/NorOevlrng==
dependencies:
"@types/react" "*"

Expand Down

0 comments on commit c1c810a

Please sign in to comment.