diff --git a/winjs/winjs.d.ts b/winjs/winjs.d.ts index fa3121064..c6a2958cd 100644 --- a/winjs/winjs.d.ts +++ b/winjs/winjs.d.ts @@ -7325,7 +7325,7 @@ declare module WinJS.UI.Pages { * @param options The options passed to the constructor of the page. * @returns A promise that is fulfilled when initialization is complete, if asynchronous processing is necessary. If not, returns nothing. **/ - init?(element: HTMLElement, options?: any): Promise; + init?(element: HTMLElement, options: any): Promise; /** * Creates DOM objects from the content in the specified URI. This method is called after the PageControl is defined and before the init method is called. @@ -7340,7 +7340,7 @@ declare module WinJS.UI.Pages { * @param options The options that are to be passed to the constructor of the page. * @returns A promise that is fulfilled when initialization is complete, if asynchronous processing is necessary. If not, returns nothing. **/ - processed?(element: HTMLElement, options?: any): Promise; + processed?(element: HTMLElement, options: any): Promise; /** * Called after all initialization and rendering is complete. At this time, the element is ready for use. @@ -7348,7 +7348,7 @@ declare module WinJS.UI.Pages { * @param options An object that contains one or more property/value pairs to apply to the PageControl. How these property/value pairs are used (or not used) depends on the implementation of that particular PageControl. * @returns A promise that is fulfilled when the element is ready for use, if asynchronous processing is necessary. If not, returns nothing. **/ - ready?(element: HTMLElement, options?: any): Promise; + ready?(element: HTMLElement, options: any): Promise; /** * Takes the elements returned by the load method and attaches them to the specified element.