Skip to content

Commit

Permalink
fix: make DraggableCore bounds optional in typings
Browse files Browse the repository at this point in the history
  • Loading branch information
Grady Hallenbeck committed Apr 14, 2020
1 parent 638fc3b commit a227eba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ declare module 'react-draggable' {
import * as React from 'react';

export interface DraggableBounds {
left: number
right: number
top: number
bottom: number
left?: number
right?: number
top?: number
bottom?: number
}

export interface DraggableProps extends DraggableCoreProps {
Expand Down

0 comments on commit a227eba

Please sign in to comment.