* applied prettier ruleset
* Fixed some linting rules, a lot of work still remains
edited dropzone version and added my name to maintainers
* Updated DropZoneOptions interface to reflect the current docs:
- added function type to url property
- added function type to method property
- replaced thumbnailMethod and resizeMethod to a union type as they can only contain 2 specific strings as options
* add generics to storeTypes
add getRelayHandleKey
* lint
* link up to updater
* simplify with [never]
* use overloads
* lint
* add tests
* add extra test to ensure objects with extra props can be passed through
* Fix mergerino types and tests in preparation for TS #34742
* Preserve type annotation for TS versions before 3.5
* Revert change to FunctionPatch<T> and fix test accordingly
* Initial upload of V7.0 of 'agilite' node module @types definition
* Initial upload of V7.0 of 'agilite' node module @types definition
* Applied fixes as per travis test result
* Refactored agilite types according to reviewer feedback
* Formatting fixes to agilite
* style(react-helmet): format with prettier
* fix(react-helmet): relax htmlAttributes and bodyAttributes types
This preserves type-checking of known attributes but also allows for arbitrary attributes like
`data-*`.
* fix: axisPointer.label.margin should be number
(xAxis | yAxis).axisPointer.label.margin should be number instead of boolean.
* fix: color type
color type is not limited to string. It can be `string`, `Linear gradient`, `Radial gradient` or `Fill with texture`.
* Added OptionalId<T> to insert method. Inspired by @types/mongo
* Fix the tests.
* Defined 'UnionOmit' in such a way that applying it to a union type would work.
* Fix spelling error.
* Add assertEnumType to Schema
* Add assertInputObjectType to Schema
* Add Connection interface
* Add RelayCompilerError.d.ts and export createUserError for use in relay-compiler-language-typescript
* Fix linting errors
* Set TypeScript Version: 3.4 for relay-compiler and relay-config that depends on relay-compiler
* Revert to TypeScript Version: 3.0 for relay-compiler and relay-config and use ReadonlyArray<> syntax
* Add back strong typing ot Connection value prop replacing any with TypeReferenceNode
This PR adds the ability for the [`random.arrayElement`][1] method to support
`readonly` Arrays.
Since the logic of the method is merely selecting an item at random, and
not affecting the passed in Array, it is safe to add these types.
The other methods that act upon a supplied Array do not guarantee the
same level of immutability.
[1]: d3ce6f1a2a/lib/random.js (L88)
- Adds BaseMessage interface to include required and optional properties common to all Messages.
- Adds SuccessfulHandshakeMessage, UnsuccessfulHandshakeMessage, HandshakeMessage and SubscribeMessage interfaces with their appropriate fields.
- Replaces Message interface with a union type of the other messager interfaces.
- Adds specific Listener interfaces and uses them on the appropriate handlers.
- Implements all fields documented at https://docs.cometd.org/current4/reference/#_bayeux_message_fields, and SuccesfulHandshakeMessage's undocumented `reestablish` field implemented here: bb64aa2dee/cometd-javascript/common/src/main/webapp/js/cometd/cometd.js (L2180)
* [jest] fix test.each typing when array is readonly
* review changes: fix indentations and use $ExpectTypes
* fix lint
* review chagnes: add back T extends any[] and add test
* skip test because of flaky behaviour
* add myself to author
feture-policy provides TS typings with it, but it doesn't export the
interface for the options parameter. We could have used conditional
typings and infered the type of the parameter, but that would have
restricted the minimum TS version to 2.8, so instead I created the
interface definition here.
Resolves#37627