* feat(parse): add Cloud job functions; SaveOptions.cascadSave; Object.revert(keys)
* Apply suggestions from code review
Co-Authored-By: Yago Tomé <yagotome@gmail.com>
* refactor(SaveOptions): move cascadeSave opt to its own interface
...in order to keep consistency with the rest of the options.
* refactor: upgrade version to 2.2.9
* fix(Parse.Config): update params for functions `get` and `save`
* feat(LiveQuerySubscription): add default events
* fix(Query): function subscribe() should return a Promise
* improve(File): add missing constructor variations
* bump version to 2.3.0
* feat(Object): add function
* fix(ParseObject): remove as return type of fetchFromLocalDatastore()
* refactor(parse/File): use union type instead of several constructors
* feat(parse/File): add function getData()
* chore(parse): bump version
The library will accept optional on a struct (with fields) and
repeated on a normal field (without fields).
For example, a struct could be optional, or you can have an array
of integers.
references to `v1` in the test files work on Definitely Typed but don't
reflect real usage, which specifies versions using package.json.
The fix in this case is easy -- switch to current version of qunit. This
required some test changes to jquery.bbq, but they were all renames,
essentially.
* [icepick] Make tsconfig.json more strict
* [icepick] input arrays can be readonly
* [icepick] add tests new alias and methods already in the definitions.
* [icepick] remove most tslint rule exceptions and apply formatting.
* [icepick] remove unnecessary generics
* [icepick] update library version to 2.3 as that is when dissocIn/unsetIn where added.
* [icepick] apply strict-export-declare-modifiers rule
* [icepick] apply prefer-const rule to tests
* Added slate-react onContextMenu prop type
* Added onContextMenu to unit test
* Made Plugin related interfaces generic to allow using slate-react Editor type in plugins.
* Correcting prop function return type
`noRowsRenderer` takes a function which will return an element to render when no rows are found. The default value for this prop is `() => null` which also does not fit the schema of `() => void`.
* Adding explicit possible null return value to type
Co-Authored-By: Ron Buckton <ron.buckton@microsoft.com>
* fix: Table.create can return a single TFields object
When `create` is called with a single object to create, the return type is not an array, but a single object. `Response<TFields>` is defined as `ReadonlyArray<Row<TFields>>` (note: `Array`), which isn't correct for a single object. Likewise, `Promise<Array<Response<TFields>>>` implies a multidimensional array, which again isn't correct.
* test: add tests for Airtable.create
* fix: fix usage of Readonly type
* feat: Add `function‑bind`
* fix(function‑bind): Separate <TS3.2 and TS3.3+ type defintions
* chore: `tsconfig.json` now allows only `index.d.ts` and tests
* Adjusting return type of attr method of Cheerio object. It returs undefined type if selection is empty
* Writing additional test for attr of empty selection