From c420b1fd87258b4f5d4c8d168be4a0e2a1707e5b Mon Sep 17 00:00:00 2001 From: Qinfeng Chen Date: Tue, 3 Feb 2015 11:09:26 -0500 Subject: [PATCH] add constraint typing for webcola --- webcola/webcola.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/webcola/webcola.d.ts b/webcola/webcola.d.ts index b8794f31e3..177039b139 100644 --- a/webcola/webcola.d.ts +++ b/webcola/webcola.d.ts @@ -30,6 +30,13 @@ declare module WebCola{ stop(): void; } + interface Constraint { + axis: string; + gap: number; + left: number; + right: number; + } + interface FlowLayout{ axis: string; minSeparation?: number;