Redesigned the types to create a unique one for each widget containing only the necessary arguments and properties. Added generic type support to State widgets which should make it clearer to use.
This may be inconvenient to have a type for every widget, but it should make Iris easier to use with intellisense which is one of the biggest issues I here of.
Additions
State objects and Input widgets use generic types rather than any.
PubTypes file for public types which most users only need to be exposed to.
WidgetTypes file containing a unique type for every widget.
Changes
Removed unnecessary thisWidget arguments to certain utility functions.
Better Types
Redesigned the types to create a unique one for each widget containing only the necessary arguments and properties. Added generic type support to State widgets which should make it clearer to use.
This may be inconvenient to have a type for every widget, but it should make Iris easier to use with intellisense which is one of the biggest issues I here of.
Additions
Changes
Fixes