-
-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
Hello there.
I'm still going through documentation and APIs in order to build compelte and correct TypeScript definitions for Titanium SDK and its modules.
The problem for today is API inconsistency between Map.View and its parent class Ti.UI.View:
namespace Titanium {
namespace UI {
class View extends Titanium.Proxy {
animate(animation: Titanium.UI.Animation | Dictionary<Titanium.UI.Animation>, callback?: (param0: any) => void): void;
}
}
}
namespace Map {
class View extends Titanium.UI.View {
animate: boolean;
}
}It is impossible (in TypeScript) to override method with property.
The best solution would be to rename Map.Views property (for example to animated), otherwise we can't create correct/full definitions for ti.map module.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels