From dee1325471b483e66724dae11d9d31d4e6bee1a9 Mon Sep 17 00:00:00 2001 From: Aleksandr Filatov Date: Fri, 12 Jun 2015 13:53:42 +0300 Subject: [PATCH] fix #3 --- quixote/quixote-tests.ts | 2 +- quixote/quixote.d.ts | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/quixote/quixote-tests.ts b/quixote/quixote-tests.ts index ee6b6e090..e653df250 100644 --- a/quixote/quixote-tests.ts +++ b/quixote/quixote-tests.ts @@ -1,4 +1,4 @@ -/// +/// /// function test_createFrame() { diff --git a/quixote/quixote.d.ts b/quixote/quixote.d.ts index bc9100b71..37bc1eb0c 100644 --- a/quixote/quixote.d.ts +++ b/quixote/quixote.d.ts @@ -158,13 +158,13 @@ interface PositionDescriptor { plus(amount: SizeDescriptor): PositionDescriptor; // Create a new descriptor that is further down the page or to the right. - plus(amount: nubmer): PositionDescriptor; + plus(amount: number): PositionDescriptor; // Create a new descriptor that is further down the page or to the right. minus(amount: SizeDescriptor): PositionDescriptor; // Create a new descriptor that is further down the page or to the right. - minus(amount: nubmer): PositionDescriptor; + minus(amount: number): PositionDescriptor; } // Size descriptors represent width or height. @@ -173,16 +173,16 @@ interface SizeDescriptor { plus(amount: SizeDescriptor): SizeDescriptor; // Create a descriptor that's bigger than this one. - plus(amount: nubmer): SizeDescriptor; + plus(amount: number): SizeDescriptor; // Create a descriptor that's smaller than this one. minus(amount: SizeDescriptor): SizeDescriptor; // Create a descriptor that's smaller than this one. - minus(amount: nubmer): SizeDescriptor; + minus(amount: number): SizeDescriptor; // Create a new descriptor that's a multiple or fraction of the size of this one. - times(multiple: nubmer): SizeDescriptor; + times(multiple: number): SizeDescriptor; } interface QuixoteFrameOptions { @@ -226,7 +226,7 @@ declare module "quixote" { class Quixote { constructor(); - createFrame(options, callback: (err: Error, frame: QFrame) => void): QFrame; + createFrame(options: QuixoteFrameOptions, callback: (err: Error, loadedFrame: QFrame) => void): QFrame; } export = Quixote;