##// END OF EJS Templates
Maintenance release...
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`

File last commit:

r2:1e22cac2aaf4 v1.0.0-rc1 default
r8:b71d8639b457 v1.0.1 default
Show More
StoreTests.ts
26 lines | 531 B | video/mp2t | TypeScriptLexer
import * as Memory from "dojo/store/Memory";
import * as Observable from "dojo/store/Observable";
interface Schedule {
id?: string;
title: string;
duration: number;
}
declare const store: dojo.store.api.Store<Schedule>;
const observable = new Observable(store);
const mem = new Memory<Schedule>();
observable.query().observe(() => { });
store.query().forEach(() => { });
const total = await store.query().total;
const result = await store.query();
mem.query();
mem.add({ duration: 10, title: "Test event" });