Skip to content

Commit a227eba

Browse files
author
Grady Hallenbeck
committed
fix: make DraggableCore bounds optional in typings
1 parent 638fc3b commit a227eba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

typings/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ declare module 'react-draggable' {
22
import * as React from 'react';
33

44
export interface DraggableBounds {
5-
left: number
6-
right: number
7-
top: number
8-
bottom: number
5+
left?: number
6+
right?: number
7+
top?: number
8+
bottom?: number
99
}
1010

1111
export interface DraggableProps extends DraggableCoreProps {

0 commit comments

Comments
 (0)