From dbcb92dc9685fa0223bad29348ed240a5dd38b70 Mon Sep 17 00:00:00 2001 From: Aaron Date: Wed, 2 Oct 2013 11:25:04 -0500 Subject: [PATCH] Update win.js to include the Template class --- winjs/winjs.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/winjs/winjs.d.ts b/winjs/winjs.d.ts index c7ae374082..cba248b44a 100644 --- a/winjs/winjs.d.ts +++ b/winjs/winjs.d.ts @@ -56,10 +56,14 @@ declare module WinJS { public isDeclarativeControlContainer: boolean; public bindingInitializer: any; - constructor(element: HTMLElement, options?: any); - public render(dataContext: any, container?: HTMLElement): WinJS.Promise; + constructor(element: HTMLElement, options?: any); + public render: { + (dataContext: any, container?: HTMLElement): WinJS.Promise; + value(href: string, dataContext: any, container?: HTMLElement): WinJS.Promise; + }; public renderItem(item: any, recycled?: HTMLElement); } + } module Namespace {