Pranav Senthilnathan
18a127baab
Merge pull request #32681 from stuartlong/stuartlo/ckeditor/fixes
...
CKEDITOR 4: fix minor issues with dom.node typings
2019-01-31 11:55:08 -08:00
Pranav Senthilnathan
53d457ac30
Merge pull request #32362 from p5-types/p5.js
...
Update p5 to 0.7.3
2019-01-31 11:41:43 -08:00
Dimitri Benin
b89eeef9de
[cacheable-request] Add types
2019-01-31 20:37:05 +01:00
Pranav Senthilnathan
94b8b3f152
Merge pull request #32477 from danilobuerger/patch-6
...
[react-native-fbsdk] Added AppEventsLogger.setUserID
2019-01-31 11:29:10 -08:00
Pranav Senthilnathan
4fe9df0d13
Merge pull request #32509 from Manc/xxhashjs-0.2
...
[xxhashjs] Upgrade to 0.2, fix return type, add more tests
2019-01-31 11:24:52 -08:00
Pranav Senthilnathan
c314e5a3d6
Merge pull request #32507 from hirochachacha/koa-session
...
@types/koa-session: support missing options
2019-01-31 11:15:17 -08:00
stuartlo
7580345e97
getSourceNode calls should return values
2019-01-31 10:58:54 -08:00
Pranav Senthilnathan
8216ccb289
Merge pull request #32432 from hieptuanle/master
...
Add type for onChange prop for react version of Cleave.js 1.4.7
2019-01-31 10:54:42 -08:00
Aleksandar Manukov
d38ba4e3d4
Minor change
2019-01-31 20:46:28 +02:00
stuartlo
3ae92db4bc
Fix some issues with node typings
2019-01-31 10:45:48 -08:00
Pranav Senthilnathan
6652770d8f
Merge pull request #32348 from denisname/select2-v3
...
Select2 v3: Linting
2019-01-31 10:44:02 -08:00
Pranav Senthilnathan
420521a30e
Merge pull request #32346 from mpsijm/patch-1
...
[dhtmlxgantt] [dhtmlx-gantt] Make export config parameter optional (PDF, PNG)
2019-01-31 10:41:24 -08:00
Pranav Senthilnathan
e70f51011c
Merge pull request #32676 from wingsbob/joi-object-schema
...
[@types/joi] Add missing Joi object schema
2019-01-31 10:34:26 -08:00
Pranav Senthilnathan
87fb221405
Merge pull request #32655 from execfera/cron-1.6-update
...
[cron] update types to 1.6
2019-01-31 10:32:08 -08:00
Pranav Senthilnathan
c192f628d5
Merge pull request #32651 from mingchen/master
...
mongoose: Fix ConnectionOptionsBase.
2019-01-31 10:16:54 -08:00
Spencer Elliott
c467d277ab
[next] Add enhanceApp / enhanceComponent
...
https://github.com/zeit/next.js/tree/cf31021e25f8d90f91ef3f7cb4f36a46d52fc56d#customizing-renderpage
https://github.com/zeit/next.js/blob/7e7be0e2e8419b28d9c562e04cba1fc52a39f086/packages/next-server/server/render.tsx#L13-L32
2019-01-31 13:10:23 -05:00
Pranav Senthilnathan
bcd869130b
Merge pull request #32658 from robertying/master
...
[expo/vector-icons] add AntDesign type declaration
2019-01-31 10:09:39 -08:00
Pranav Senthilnathan
f8898c3dd1
Merge pull request #32611 from RatoX/master
...
Update for prosemirror-model 1.7.0
2019-01-31 10:07:55 -08:00
Pranav Senthilnathan
a54b6418f2
Merge pull request #32672 from elliottsj/next-document-styles-array
...
[next] Use an array of React nodes for Document.getInitialProps().styles
2019-01-31 10:05:24 -08:00
Pranav Senthilnathan
18a54c4d83
Merge pull request #32665 from andrewroyburk/master
...
[pikaday] Add null type to setMinDate and setMaxDate parameter, Fix setDate parameter name
2019-01-31 10:00:00 -08:00
Sean Baildon
fd7b22008f
jws algorithms
2019-01-31 17:48:58 +00:00
Pranav Senthilnathan
60d7aaa14c
Merge pull request #32543 from daliusd/initial_state_support
...
Initial State support for reduceReducers.
2019-01-31 09:48:55 -08:00
Rahel Lüthy
8e9a1d4417
Fix ascending vs descending copy/paste error
2019-01-31 18:18:59 +01:00
Eloy Durán
dbf023fcf9
Merge pull request #32652 from mattkrick/getRequest
...
add support for getRequest
2019-01-31 18:16:54 +01:00
Tom Spencer
9da338ad53
add useNativeValidation to MDC textfield
2019-01-31 17:08:27 +00:00
Matthew Bull
c03d9fd272
Fix linting
2019-01-31 16:11:46 +00:00
Matthew Bull
2be1aea0d0
Add support for joi schema type
2019-01-31 16:11:26 +00:00
Anton Astashov
66001ee764
[@types/koa-compose]: Provide way for typesafe compose
...
Right now it's impossible to compose a bunch of middlewares, and
preserve their state/context type. It will be either erased and
converted to `any`, or will show an error.
For example, we have 3 middlewares:
```ts
type FooCtx = { foo: string };
type BarCtx = { bar: string };
type WooCtx = { woo: string };
const fooMiddleware: Koa.Middleware<FooCtx, {}> = async (ctx, next) => {
ctx.state.foo = 'foo';
await next();
};
const barMiddleware: Koa.Middleware<BarCtx, {}> = async (ctx, next) => {
ctx.state.bar = 'bar';
await next();
};
const wooMiddleware: Koa.Middleware<WooCtx, {}> = async (ctx, next) => {
ctx.state.woo = 'woo';
await next();
};
```
If we try to compose them together, we'll get an error:
```ts
const composed = compose([fooMiddleware, barMiddleware, wooMiddleware]);
// types of params context and context are incompatible
// Type ParameterizedContext<FooCtx, {}> is not assignable to
// ParameterizedContext<BarCtx, {}>
```
We can shut it up by providing `<any>` type parameter, but that will
erase their types:
```ts
const composed = compose<any>([fooMiddleware, barMiddleware, wooMiddleware]);
// `composed` type is `compose.ComposedMiddleware<any>`.
```
As a solution, I don't think there's a way to do typesafe `compose` for
variable number of middlewares, but we can overload `compose` and make a
typesafe one for 2 middlewares. You can then compose `compose`s to
compose more than 2 middleares :) Like, instead of:
```ts
compose([fooMiddleware, barMiddleware, wooMiddleware])
```
It will be:
```ts
compose([fooMiddleware, compose([barMiddleware, wooMiddleware]))
// `composed` type is `Middleware<ParameterizedContext<FooCtx & BarCtx & WooCtx, {}>`
```
What do you think?
2019-01-31 09:57:41 -06:00
Spencer Elliott
1097fb71fc
[styled-components] Add ServerStyleSheet.seal()
...
https://github.com/styled-components/styled-components/blob/c3eedbeb79621acd668e15ed2d63107528ed81c3/packages/styled-components/src/models/ServerStyleSheet.js#L27-L38
2019-01-31 10:34:58 -05:00
Spencer Elliott
e7bf02f943
Use an array of React nodes for Next.js Document.getInitialProps().styles
...
This `styles` property is always an array. See:
https://github.com/zeit/next.js/blob/3a059688a8a0e10342ce697c89a7faebbeca9629/server/document.js#L18
https://www.npmjs.com/package/styled-jsx#styled-jsxserver
2019-01-31 10:26:00 -05:00
gretzky
d65aee8864
[styled-system] increment version number
2019-01-31 10:20:44 -05:00
gretzky
83accda487
[styled-system] re-add number[] for posterity
2019-01-31 10:18:53 -05:00
gretzky
b1ffb3b01f
[styled-system] add object type to breakpoints
2019-01-31 10:17:48 -05:00
gretzky
b0e7a55053
[styled-system] fix breakpoints type
2019-01-31 10:13:59 -05:00
licui
5dfa87b3f1
Fix path issue
2019-01-31 09:59:27 -05:00
licui
150df3dc1e
Remove unused file
2019-01-31 09:50:49 -05:00
denis
80ac20f080
Update to 1.3.3
...
Add d3.stackOrderAppearance.
2019-01-31 15:27:32 +01:00
Jessica Franco
e6e55443f8
Merge pull request #32511 from AOHUA/master
...
Add types for redux-state-sync
2019-01-31 23:23:25 +09:00
AOHUA MU
f423c53701
fix type issue
2019-01-31 22:14:37 +08:00
AOHUA MU
feed7babde
remove unused types as addressed by Jessidhia
2019-01-31 22:12:42 +08:00
denis
828f081238
Update to 1.2
...
Add iterations argument to `simulation.tick`.
2019-01-31 15:07:01 +01:00
Jessica Franco
e7a5287d64
Merge pull request #32650 from markdreyer/master
...
@types/papaparse: Update ParseConfig dynamicTyping configuration option.
2019-01-31 22:13:26 +09:00
Jessica Franco
f9f7ebd3bf
Merge pull request #32654 from bettermarks/master
...
[@types/react-beautiful-dnd] Added missing property to DroppableStateSnapshot
2019-01-31 22:02:09 +09:00
Jessica Franco
021562ddf5
Merge pull request #32664 from Jessidhia/update-credits
...
Update contributor credits
2019-01-31 22:01:42 +09:00
Jessica
4bdc8452ac
Update contributor credits
2019-01-31 22:01:05 +09:00
Dominik Palo
e03522fe2a
Remove the unnecessary console declaration
2019-01-31 13:52:56 +01:00
Dominik Palo
a1185d5d5b
Merge pull request #4 from DefinitelyTyped/master
...
Sync
2019-01-31 13:49:49 +01:00
andrewroyburk
450ce9d682
pickaday: add explicit null types to match usage for clearing min/max dates
2019-01-31 13:48:05 +01:00
andrewroyburk
ec2f9a6164
pickaday: correct naming of boolean method parameter on setDate
2019-01-31 13:48:05 +01:00
MutterPedro
05bddbd67c
fix required export/import modification
2019-01-31 10:43:46 -02:00