Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Apr 20, 2020
1 parent 3fc9603 commit 901ff7c
Show file tree
Hide file tree
Showing 4 changed files with 1,221 additions and 945 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"invariant": "^2.2.4",
"prop-types": "^15.7.2",
"prop-types-extra": "^1.1.0",
"react-overlays": "^3.1.1",
"react-overlays": "^3.1.2",
"react-transition-group": "^4.0.0",
"uncontrollable": "^7.0.0",
"warning": "^4.0.3"
Expand Down
2 changes: 1 addition & 1 deletion types/components/Overlay.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export type OverlayChildren =
| ((injected: OverlayInjectedProps) => React.ReactNode);

export interface OverlayProps
extends Omit<BaseOverlay.OverlayProps, 'children'> {
extends Omit<BaseOverlay.OverlayProps, 'children' | 'transition'> {
children: OverlayChildren;
transition?: boolean | BaseOverlay.OverlayProps['transition'];
placement?: Placement;
Expand Down
1 change: 1 addition & 0 deletions types/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react",
"lib": ["es2016", "dom"],
Expand Down

0 comments on commit 901ff7c

Please sign in to comment.