@implab/dojo-typings
v1.0.8
Published
Improved version of the original dojo-typings
Downloads
8
Readme
dojo-typings
This project is forked from the original dojo-typings
package to
improve it with more tight and customizable type definitions.
The primary aims are
- Parametrize collections with items type.
- Distinguish sync and async methods in stores.
- Parametrize widget typings with event and attribute maps.
Changes
1.0.3
Maintenance release
dojo.store.api
replaceddojo.promise.Promise<T>
withPromiseLike<T>
type
1.0.2
Maintenance release
- added type parameter to
Evented<T>
,T
is the event map _WidgetBase
emit()
andon()
are made more strict to accept only valid event names, or explicitany
.- added
_setValueAttr
method to_FormMixin
1.0.1
Maintenance release
NodeList-fx
added overloads to all methods to distinguish returned values of different types (Animation | this
).- Added missing signatures to
NodeList
constructor - Improved
dijit.form._FormWidgetMixin
- Added module declarations
dijit/form/_FormWidgetMixin
,dijit/form/_FormValueMixin
,dijit/_HasDropDown
1.0.0
Initial release
- Parametrized
dojo/Stateful
,diji/_WidgetBase
- split
dojo.store.api.Store
in twoSyncStore
andAsyncStore
interfacesdojo/store/Memory
implementsSyncStore
and can be used synchronously,dojo/store/Rest
implementsAsyncStore
and all its methods are returning explicit promises.