readme.md
48 lines
| 1.4 KiB
| text/x-minidsrc
|
MarkdownLexer
/ dojo-typings / readme.md
cin
|
r8 | # 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 | ||||
cin
|
r12 | ### 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` | ||||
cin
|
r8 | ### 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. | ||||