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 {