Taylor Yelverton
92e12e8810
ActionCable: CreateMixin excess properties can be any type. ( #39418 )
...
ActionCable.CreateMixin acts as, literally, a class mixin, thus, its properties can be anything.
See: https://github.com/rails/rails/blob/master/actioncable/app/assets/javascripts/action_cable.js#L328-L336
2019-10-30 07:39:28 -07:00
PopGoesTheWza
d77ee72756
stampit 4.3 - better typing through generics ( #39188 )
...
* stampit 4.3
* fix `Error: stampit: Older version 3 must have a path mapping for itself.`
* fix`baseUrl` & `typeRoots`
* Some dtslint compliance
* header fix
* enhance
* tests
* tslint:disable
* naming
* fix refs/props changes + ExtendedDescriptor
* more $ExpectType tests
* Tentative `MethodMap` fix
* Updated `MethodMap`tests
* additional testing (failing)
* fix `Composable` signature
2019-10-30 07:35:36 -07:00
Gerhard Stöbich
5bf2bc31a5
[node] re-add export to http2 ( #39992 )
...
Add export for http2 types again which were removed in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/39914
I don't know why test haven't discovered this nor why export is needed there.
Refs: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/39914
Fixes: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/39986
2019-10-30 07:17:01 -07:00
Søren Høyer
2056d9c793
[relay-compiler] Add missing types for upcoming relay-compiler-language-typescript ( #39995 )
...
* 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
2019-10-30 14:32:20 +01:00
Tony Ward
5c197f5c39
react-router-dom: add "ariaCurrent" prop ( #39987 )
...
Options matching https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/modules/NavLink.js#L99
2019-10-30 05:16:06 +00:00
JellyAlex
97f37d3519
p2: Fixed spelling and constraint constructor. ( #39919 )
2019-10-29 15:47:50 -07:00
James Whitney
9f04b6c7c5
faker: support readonly arrayElement ( #39917 )
...
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]: https://github.com/Marak/faker.js/blob/d3ce6f1a2a9359574e7f31f14d4901648047c45a/lib/random.js#L88
2019-10-29 15:46:18 -07:00
Simon Schick
a91a9a49de
feat(node): v12.12 ( #39914 )
2019-10-29 15:28:59 -07:00
ExE Boss
4b9296e16c
remove(fs‑promise): Provides its own types ( #39910 )
2019-10-29 15:27:11 -07:00
Thomas Pischulski
dab3e3ca1c
[@types/mongoose] Added missing option parameter for Document.get() ( #39908 )
...
* Added missing option parameter for Document.get()
* Add me to authors
* Added tests
2019-10-29 15:26:57 -07:00
P.J. Swesey
4242a92e9a
fix(cometd): Update Message interface for CometD 4.0 ( #39905 )
...
- 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: https://github.com/cometd/cometd/blob/bb64aa2dee3e56c63fcbd46e3951abe278417851/cometd-javascript/common/src/main/webapp/js/cometd/cometd.js#L2180
2019-10-29 15:26:27 -07:00
Ricardo Mello
0840adfee6
[chart.js] Change CommonAxe display type ( #38972 ) ( #39903 )
2019-10-29 15:25:14 -07:00
Martin V
c47e5dbbb4
[@testing-library/react-hooks] Add cleanup function type ( #39900 )
...
* Add cleanup function type
* Update version number
2019-10-29 15:24:49 -07:00
Jason Yu
d83bae23a3
[jest] fix test.each typing when array is readonly ( #39291 )
...
* [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
2019-10-29 15:20:32 -07:00
Alexander T
fc00a1eb58
redom: Provides its own types ( #39534 )
2019-10-29 15:14:40 -07:00
Tomi Turtiainen
91c3deba3c
helmet: Add featurePolicy ( #39673 )
...
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
2019-10-29 15:11:46 -07:00
Alexander T
d3197b0554
document-promises: Provides its own types ( #39626 )
2019-10-29 15:09:02 -07:00
Alexander T
4e8b0811f3
bitcoinjs-lib: Provides its own types ( #39650 )
2019-10-29 15:08:11 -07:00
Nathan Shively-Sanders
435fef1035
update import syntax for i18next dependents ( #39980 )
...
i18next@19 uses default exports. This PR updates the tests of dependents
to use them instead of `import * as i18next from 'i18next'`.
2019-10-29 14:58:55 -07:00
Emmanuel Gautier
e527e0317f
mongoose: validationerror or undefined ( #39676 )
2019-10-29 14:58:44 -07:00
Tomasz Pluskiewicz
a136c9f181
refactor: sparql-http-client updated to use correct exports ( #39966 )
...
* fix: sparql-http-client should use built-in fetch
* fix: disable tslint rule to accommodate for commonjs default export
* revert default export
* change export syntax
2019-10-29 14:00:37 -07:00
Junxiao Shi
f150fcd79b
hirestime: update to 4.0 API ( #39664 )
2019-10-29 12:57:16 -07:00
Emmanuel Gautier
e827c04548
mongoose: query wtimeout ( #39679 )
2019-10-29 12:56:03 -07:00
Max Mumford
9da84cc5d7
Add end method to d3 transition ( #39355 )
2019-10-29 11:26:29 -07:00
Alexander T
b14675b1e6
z-schema: Provides its own types ( #39576 )
2019-10-29 11:00:33 -07:00
Alexander T
70ab41cb47
solidity-parser-antlr: Provides its own types ( #39546 )
2019-10-29 10:57:34 -07:00
Alexander T
c5091b23eb
react-native-safe-area: Provides its own types ( #39520 )
2019-10-29 10:57:15 -07:00
文博
454130cec8
Add typings for light-sdk ( #39420 )
...
* init commit
* 完善代码
* 完善接口定义
* 优化接口定义
* 完善接口定义
* fix npm run test
* update limit rules
* delete limit rules and update the index.d.ts file
* export interface
2019-10-29 10:56:31 -07:00
Alexander T
3601ec8d18
keytar: Provides its own types ( #39447 )
2019-10-29 10:11:48 -07:00
Linus Unnebäck
e04a56b56c
mongodb: make query parameter to distinct optional ( #39102 )
...
* mongodb: make `query` parameter to `distinct` optional
* mongodb: add tests for "distinct" function
2019-10-29 08:07:31 -07:00
Alexander T
7280abd998
vue-resource: Provides its own types ( #39567 )
2019-10-29 08:05:56 -07:00
Alexander T
2494b17f46
react-collapsible: Provides its own types ( #39505 )
2019-10-29 08:01:46 -07:00
Alexander T
6d2d7a3db0
stacktrace-js: Provides its own types ( #39547 )
2019-10-29 08:00:26 -07:00
Alexander T
1ac4aa639d
printf: Provides its own types ( #39496 )
2019-10-29 07:44:18 -07:00
Alexander T
ad63f137b9
bezier-easing: Provides its own types ( #39652 )
2019-10-29 07:41:14 -07:00
Alexander T
8b78d16555
word-wrap: Provides its own types ( #39574 )
2019-10-29 07:40:29 -07:00
Laurin Quast
054a7ee1e3
fix: rename RelayApplyFragmentArgumentTransform to ApplyFragmentArgumentTransform ( https://github.com/facebook/relay/commit/536f7815de68a0b43f11b65a16c32d3a2a42b8c7#diff-99f0c15aa080233f3d3654b4e604c257 ). ( #39959 )
2019-10-29 11:32:06 +01:00
Alexander T
aae7db3c90
consola: Provides its own types ( #39637 )
2019-10-28 21:16:43 -07:00
Alexander T
7ad4cd140b
jest-each: Provides its own types ( #39588 )
2019-10-28 21:16:08 -07:00
Alexander T
4eee6080af
delegated-events: Provides its own types ( #39628 )
2019-10-28 21:15:05 -07:00
Alexander T
be990a923f
find-java-home: Provides its own types ( #39610 )
2019-10-28 21:14:26 -07:00
Alexander T
72e896c558
forge-di: Provides its own types ( #39608 )
2019-10-28 21:13:30 -07:00
Alexander T
f9be2e89f0
transliteration: Provides its own types ( #39556 )
2019-10-28 21:13:05 -07:00
Alexander T
39f2f2eaa5
reduce-reducers: Provides its own types ( #39533 )
2019-10-28 21:12:42 -07:00
Alexander T
0707930b0f
badgen: Provides its own types ( #39656 )
2019-10-28 21:08:50 -07:00
Alexander T
d0a91fb2a0
web3: Provides its own types ( #39570 )
2019-10-28 21:08:14 -07:00
Alexander T
5fe01e091f
expo-localization: Provides its own types ( #39615 )
2019-10-28 21:06:52 -07:00
Alexander T
d69941b4f1
javascript-obfuscator: Provides its own types ( #39591 )
2019-10-28 21:00:13 -07:00
Alexander T
93227e4c39
csv-stringify: Provides its own types ( #39631 )
2019-10-28 21:00:01 -07:00
Alexander T
ca564417e2
string-argv: Provides its own types ( #39551 )
2019-10-28 20:55:40 -07:00