1

Closed

MutationObserver ctor should contain callback in lib.d

description

e.g.

declare var MutationObserver: {
prototype: MutationObserver;
new (): MutationObserver;
}

should be

declare var MutationObserver: {
prototype: MutationObserver;
new (callback:MutationCallback): MutationObserver;
}

https://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-mutationobserver

(constructor takes a MutationCallback callback)
Closed Sep 24, 2013 at 7:31 PM by danquirk
Closing since this is a duplicate of https://typescript.codeplex.com/workitem/1598

comments

danquirk wrote Sep 18, 2013 at 8:59 PM

Thanks for the report, we'll get that fixed up.