You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
TypeScript interfaces are looser than ActionScript interfaces because they allow any object to be passed to function parameters or properties as long as it has the required members. The object's class doesn't need to explicitly implement the interface. ActionScript interfaces must always be explicitly implemented.
dts2as types these parameters or properties as Object so that developers don't need to manually implement the interface. This is usually the most desirable behavior when working with JavaScript libraries, but there may be edge cases where a developer might want to use a strict interface.
The text was updated successfully, but these errors were encountered:
TypeScript interfaces are looser than ActionScript interfaces because they allow any object to be passed to function parameters or properties as long as it has the required members. The object's class doesn't need to explicitly implement the interface. ActionScript interfaces must always be explicitly implemented.
dts2as types these parameters or properties as Object so that developers don't need to manually implement the interface. This is usually the most desirable behavior when working with JavaScript libraries, but there may be edge cases where a developer might want to use a strict interface.
The text was updated successfully, but these errors were encountered: