This project is read-only.

Changing the interface merge order

Topics: General, Language Specification
Dec 20, 2013 at 4:43 PM
Based on your feedback, we've changed the interface merge order a little to be more natural for working with libraries like jQuery and lib.d.ts. Specifically, now when you merge interface A with the later interface A (let's call it B), interface B's set of overloads will get a higher priority than A's overloads.

This should make it much more natural to model jQuery plugins and to add new overloads to overloads in lib.d.ts (among others), as you can just reference the plugin or new functionality after the original library.

You can find a little more info about it on the breaking change notices: