Skip to content

Add HTML webappapi types#524

Merged
mhegazy merged 2 commits into
microsoft:masterfrom
saschanaz:webappapi-partial
Jul 5, 2018
Merged

Add HTML webappapi types#524
mhegazy merged 2 commits into
microsoft:masterfrom
saschanaz:webappapi-partial

Conversation

@saschanaz
Copy link
Copy Markdown
Collaborator

Almost all event handlers are moved into GlobalEventHandlers mixin.

clearImmediate(handle: number): void;
setImmediate(handler: (...args: any[]) => void): number;
setImmediate(handler: any, ...args: any[]): number;
interface WindowTimers {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is weird, this will be removed in a following PR.

declare function setImmediate(handler: any, ...args: any[]): number;
declare function setInterval(handler: any, timeout?: any, ...args: any[]): number;
declare function setTimeout(handler: any, timeout?: any, ...args: any[]): number;
declare function atob(encodedString: string): string;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these can be removed now

@mhegazy mhegazy merged commit 6f47ced into microsoft:master Jul 5, 2018
@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Jul 5, 2018

@saschanaz can you remove atob and btoa duplicate declarations as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants