From 1a4e77db81896d8116a95305c058ca3376b07539 Mon Sep 17 00:00:00 2001 From: Nils Lundquist Date: Wed, 7 Jan 2015 12:31:35 -0700 Subject: [PATCH 1/2] Export ViewModel and CollectionObservable CollectionObservable and ViewModel are commonly extended by consumers of Knockback and are part of the public api. --- knockback/knockback.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/knockback/knockback.d.ts b/knockback/knockback.d.ts index 71773ab92..996878ceb 100644 --- a/knockback/knockback.d.ts +++ b/knockback/knockback.d.ts @@ -3,7 +3,7 @@ // Definitions by: Boris Yankov // Definitions: https://github.com/borisyankov/DefinitelyTyped -/// +/// a /// declare module Knockback { @@ -163,6 +163,8 @@ declare module Knockback { } interface Static extends Utils { + ViewModel; + CollectionObservable; collectionObservable(model?: Backbone.Collection, options?: CollectionOptions): CollectionObservable; /** Base class for observing model attributes. */ observable( From baf046fe784b43c2b20be34d643982b223aef05d Mon Sep 17 00:00:00 2001 From: Nils Lundquist Date: Thu, 8 Jan 2015 09:51:45 -0700 Subject: [PATCH 2/2] Removing 'a' typo --- knockback/knockback.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knockback/knockback.d.ts b/knockback/knockback.d.ts index 996878ceb..08798d47a 100644 --- a/knockback/knockback.d.ts +++ b/knockback/knockback.d.ts @@ -3,7 +3,7 @@ // Definitions by: Boris Yankov // Definitions: https://github.com/borisyankov/DefinitelyTyped -/// a +/// /// declare module Knockback {