Enhance response message typings to accurately reflect all of the
types and subtypes of the messages. Peruse
https://github.com/validator/validator/tree/master/src/nu/validator/messages/types
to confirm the representations here are correct.
Reflect that a message either has or does not have location
information. Note that this implementation results in the location
properties not being available on the returned messages without
asserting them to the ValidationMessageLocationObject type (see the
updated test). This approach is more correct and easier when using
strict null checks, but makes it more cumbersome to access the
location properties when your TypeScript compiler configuration has
strict null checks set to false. Another option would be to do away
with the concept of a separate location sub-object and just make all
the location properties optional.
There was recently a new major version release of the upstream
project, so this seems like a good time to introduce this breaking
change.
Fix indentation.
* Add typings for json-schema-merge-allof
* Fix lint issues
* Specifically add a 4 | 6 JSONSchema type for json-schema-ref-parser usage
* Add tests and further refine types
* Add logger function to video.js Log interface
* Add logger function to video.js Log interface
* Bump version and move Definitions_by to the top
* Add video.js logger test
- Loosen the type to match the actual implementation.
- Add tests for the new looser type, and backfill tests for other
supported behavior at the same time.
* New options `onMonthsChange` and `onYearsChange`.
* New option `weekdayStyle`.
* Remove enum definitions which are not provided by the actual library.
* [react] declare experimental APIs
* [react] add jsdoc to experimental APIs based on the new Concurrent Mode docs
* [react-dom] add declarations for experimental APIs
* [react-dom, react] Add more documentation
* [react-dom] fix compatibility with older typescript
* [react-dom] fix file layout for CI
* [react-dom] remove feature that was removed, add missing experimental feature
* [react] don't try to guard against bug that will be fixed
* adds wayne as definition contributer
* fixes GroupOptions 'pull' and 'put' types
* [fix] renames Group to GroupOptions
* removes AutoScroll options from SortableOptions, Options extends SortableOptions
* adds options for autoscroll, onspill and multidrag
* adds SwapOptions
* adds sortable.mount function with `any` type
* adds all available plugins and uses SortablePlugin type on Sortable.mount()
* adds plugins.d.ts to tsconfig
* [fix] makes all options from the plugins optional
* [tests] fixes sortable.group.put type; is string[], not string
* [tests] adds tests for mounting plugins
* adds examples to sortable.mount
* [format] reverts formatting in test file
* adds options as options for sortable constructor
* change removeonclonehide to boolean from true