From f869c1eaefa23e1ea2a69d0dbf47ab2a05192d9b Mon Sep 17 00:00:00 2001 From: Tom Dietrich Date: Wed, 30 Dec 2015 15:17:33 -0500 Subject: [PATCH] Make properties of IOptions optional. According to the [documentation](http://www.jointjs.com/api#joint.dia.Paper), the options **may** contain any of these properties, and as such they should not be required by the interface. --- jointjs/jointjs.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jointjs/jointjs.d.ts b/jointjs/jointjs.d.ts index 1c7e915715..cbabf0095a 100644 --- a/jointjs/jointjs.d.ts +++ b/jointjs/jointjs.d.ts @@ -60,12 +60,12 @@ declare module joint { } interface IOptions { - width: number; - height: number; - gridSize: number; - perpendicularLinks: boolean; - elementView: ElementView; - linkView: LinkView; + width?: number; + height?: number; + gridSize?: number; + perpendicularLinks?: boolean; + elementView?: ElementView; + linkView?: LinkView; } class Paper extends Backbone.View {