@implab/dojo-typings
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @implab/dojo-typings

Weekly Downloads

0

Version

1.0.8

License

MIT

Unpacked Size

554 kB

Total Files

69

Last publish

Collaborators

  • wozard