diff --git a/winjs/winjs.d.ts b/winjs/winjs.d.ts index 7ce907b2f..5ff8da71d 100644 --- a/winjs/winjs.d.ts +++ b/winjs/winjs.d.ts @@ -7371,7 +7371,7 @@ declare module WinJS.UI.Fragments { * @param element Optional. The element to which the fragment is appended. * @returns A promise that is fulfilled when the fragment has been loaded. If a target element is not specified, the copied fragment is the completed value. The element is not added to the cache. See also rendercopy, where the element is added to the cache. **/ - function render(href: string, element: HTMLElement): Promise; + function render(href: string, element?: HTMLElement): Promise; /** * Loads and copies the contents of the specified URI into the specified element. @@ -7379,7 +7379,7 @@ declare module WinJS.UI.Fragments { * @param target The element to which the fragment is appended. * @returns A promise that is fulfilled when the fragment has been loaded. If a target element is not specified, the copied fragment is the completed value. The fragment is added to the cache. See also render, where the element is not added to the cache. **/ - function renderCopy(href: string, target: HTMLElement): Promise; + function renderCopy(href: string, target?: HTMLElement): Promise; //#endregion Functions