DefinitelyTyped/types/sharedb
Peter Xu f3c401b8d2
fix(sharedb): correct sharedb.DB.getOps so it has nullable arguments (#42331)
* Update typings: getOps can have null from or to

The docs for ShareDB clearly state that `from` and `to` arguments in `getOps` are nullable:

> - `from` number: the first op version to fetch. If set to null, then ops will be fetched from the earliest version
> - `to` number: The last op version. This version will not be fetched (ie to is non-inclusive). If set to null, then ops will be fetched up to the latest version

* Add tests and name "Definitions by"

Co-authored-by: petertravelchime <54869620+petertravelchime@users.noreply.github.com>
2020-02-18 11:02:45 -08:00
..
lib
index.d.ts
sharedb-tests.ts
tsconfig.json
tslint.json