This version addresses problems with invalid inheritance types. Many of the classes have invalid type for theirs method from parent's class, which results in TypeScript errors. Some of the methods have been fixed without any problem, but many of the methods are redefined with completely different number of arguments. This had to be fixed with duplicating the method into multiple versions. For example method getCopyright
doesn't accept any argument, but some classes redefine this method and add a zoom
argument. For this reason, these classes have this method defined twice: once for the method with argument a second without the argument. This might cause a little chaos, but it was the only workaround for this type of problem.
Changes
- Methods
getContainer
withvoid
as return type now hasobject
return type - Methods
getCopyright
have been duplicated for classes with problematic class inheritance and fixed theirs types. - Class
SMap.Route
now has defined methods fromJAK.ISignals
- Interface
SMap.IOwned
now accepts owners based on the new created generic type. - Constructor's second argument
conf
of classSMap.Control.Scale
has been renamed toconf2
due to duplicate argument name. - Constructor's last argument
config
of classSMap.Projection.Oblique
has been renamed toconfig2
due to duplicate argument name.