##// END OF EJS Templates
_WidgetBase some attributes made optional
_WidgetBase some attributes made optional
cin -
r18:8ab7be820af9 v1.0.7 default
Show More
Name Size Modified Last Commit Author
/ dojo-typings
src
build.gradle Loading ...
package-lock.json Loading ...
package.json Loading ...
readme.md Loading ...
tslint.json Loading ...

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 replaced dojo.promise.Promise<T> with PromiseLike<T> type

1.0.2

Maintenance release

  • added type parameter to Evented<T>, T is the event map
  • _WidgetBase emit() and on() are made more strict to accept only valid event names, or explicit any.
  • 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 two SyncStore and AsyncStore interfaces
  • dojo/store/Memory implements SyncStore and can be used synchronously,
  • dojo/store/Rest implements AsyncStore and all its methods are returning explicit promises.