Commit Graph
58772 Commits
Author SHA1 Message Date
Jesse Trinity d1dc4a71af Merge pull request #33165 from understandr/i18n
[meteor-universe-i18n] add offChangeLocale
2019-02-25 15:51:21 -08:00
Jesse Trinity f6a83f5ff0 Merge pull request #33363 from dashmug/add-to-to-aggregated-result
Add numTodoTests to AggregatedResult.
2019-02-25 15:48:54 -08:00
Jesse Trinity 823b476ecb Merge pull request #33358 from penumbra1/mongoose
Add schema options: selectPopulatedPaths, storeSubdocValidationError
2019-02-25 15:46:58 -08:00
Jesse Trinity 59e902b9d5 Merge pull request #33343 from cpb8010/master
Update aws-iot-device-sdk for version 2.2.0
2019-02-25 15:42:55 -08:00
Jesse Trinity 232d438870 Merge pull request #33350 from MHeasell/patch-3
[pikaday] Enable strictNullChecks, noImplicitThis
2019-02-25 15:39:25 -08:00
Jesse Trinity d6597568f9 Merge pull request #33227 from morigs/patch-2
[got] Add body to HTTPError
2019-02-25 15:36:47 -08:00
Jesse Trinity 7991ecabb6 Merge pull request #33222 from davidspiess/react-avatar-editor-add_missing_position_parameter
react-avatar-editor: add missing onPositionChange parameter
2019-02-25 15:32:05 -08:00
Jesse Trinity 633da2482c Merge pull request #33345 from astashov/koa-router-prepending-middlewares
@types/koa-router: Typesafe middlewares prepending
2019-02-25 15:25:40 -08:00
Jesse Trinity 5043241a1a Merge pull request #33381 from VincentLanglet/propsWithChildren
[React] Add type helper PropsWithChildren
2019-02-25 15:03:38 -08:00
Jesse Trinity 758e5fd75d Merge pull request #33338 from hmajid2301/react-navigation
Added screenProps DrawerItemsProps to React Navigation
2019-02-25 14:58:54 -08:00
Jesse Trinity c39d2223ae Merge pull request #33383 from Ky6uk/react-click-outside-decorator
[react-click-outside] Add decorator support
2019-02-25 14:51:27 -08:00
Nathan Shively-Sanders 98699544cc Merge pull request #33397 from DefinitelyTyped/redeprecate-p-throttle
Re-deprecate p-throttle
2019-02-25 14:45:45 -08:00
Nathan Shively-Sanders 2851372c5d Re-deprecate p-throttle
2.0.0 was not published correctly. So I am deprecating 2.1.0 instead.
2019-02-25 14:34:23 -08:00
Jesse Trinity 552dec4b71 Merge pull request #33375 from kevin68/master
[mangopay2-nodejs-sdk] Fix property name
2019-02-25 14:01:01 -08:00
Wesley Wigham 0fc9e7a069 Update header 2019-02-25 13:06:49 -08:00
Vincent Langlet 0fab3372a5 More fix 2019-02-25 21:43:11 +01:00
Vincent Langlet 2fc0635094 Try to fix unrelated errors 2019-02-25 20:35:10 +01:00
Andrew Casey 28c47c06f1 Merge pull request #33229 from ntnyq/master
[@types/gulp-gh-pages]Added the lost options force
2019-02-25 10:25:23 -08:00
Andrew Casey ed87d40c9e Merge pull request #33113 from mickdekkers/progress-stream
Add types for progress-stream 2.0
2019-02-25 10:24:02 -08:00
Nathan Shively-Sanders a90ec9a18e Merge pull request #33388 from DefinitelyTyped/update-connect-datadog-header
Update connect-datadog project url
2019-02-25 10:12:34 -08:00
Nathan Shively-Sanders cffe8746b8 Update connect-datadog project url 2019-02-25 10:06:44 -08:00
Vincent Langlet 8ac6e17a4d Fix 2019-02-25 19:01:35 +01:00
Nathan Shively-Sanders ceaf64cefc Merge pull request #33387 from DefinitelyTyped/dt-cleanup-part-4
Two more cleanup items from typescript@next
2019-02-25 09:40:12 -08:00
Nathan Shively-Sanders 380ff17252 Two more cleanup items
1. Transducers-js' tests incorrectly assumed that tuple types were
inferred from array literals. Added an annotation.
2. zipkin-context-cls and zipkin-transport-http both depend on zipkin,
which requires either dom or node's Console to be defined. Added
`lib: "dom"` in both tsconfigs.
2019-02-25 09:23:07 -08:00
Vincent Langlet b5200f6fb7 Add for component 2019-02-25 17:46:39 +01:00
Nathan Shively-Sanders cbe76dfa86 Merge pull request #32011 from AlexandreHetu/parse-cloudcode-promise
[parse] Update cloud code definitions for Parse server 3.X
2019-02-25 08:32:33 -08:00
Vincent Langlet df31a02f00 Add helper PropsWithChildren 2019-02-25 16:48:31 +01:00
Roman Nuritdinov (Ky6uk) b4c25760ec Add decorator support for react-click-outside 2019-02-25 17:46:42 +02:00
Kévin Baumeyer 7504813dcc Fix mangopay2-nodejs-sdk types 2019-02-25 14:28:56 +01:00
Noel Martin Llevares 64851f4edd Add numTodoTests to AggregatedResult. 2019-02-25 11:55:28 +11:00
Olga Isakova 4278ade4c0 Add schema options: selectPopulatedPaths, storeSubdocValidationError 2019-02-25 02:07:51 +05:00
Haseeb Majid 84c1cc8e9b Updated Screen Props Definition
Updated screen props to any, as per the react navigation documenation.
https://reactnavigation.org/docs/en/stack-navigator.html#navigator-props
2019-02-24 13:56:17 +00:00
Eloy Durán b1285dace3 Merge pull request #33322 from rochdev/remove-dd-trace
move dd-trace types to official repository
2019-02-24 09:38:19 +01:00
Michael Heasell 828fb4392a pikaday: Enable strictNullChecks, noImplicitThis 2019-02-24 00:51:07 +00:00
Anton Astashov 1645790bef @types/koa-router: Typesafe middlewares prepending
It's sometimes useful to prepend middlewares to the route handler, when
we want to register some middlewares only for particular routes.
Like:

```ts
router.get("/foo",
  (ctx: Koa.Middleware<IFoo>, next) => {
    ctx.state.foo = "foo";
    return next();
  },
  (ctx, next) => {
    // ctx here knows `ctx.state.foo` is `string`
    // ...
  }
);
```

Unfortunately, currently we can't infer that `ctx` there would have
`state.foo`. All middlewares/route-handlers should have the same type
currently.

It seems to be impossible to do that in the general case (for any number
of prepended middlewares), but we could have a special case for 2
middlewares, and if we have to prepend several middlewares - we could
use `koa-compose` to combine them into one, and still do that in a
typesafe way.

Like:

```ts
router.get("/foo",
  compose([
    (ctx: Koa.Middleware<IFoo>, next) => {
      ctx.state.foo = "foo";
      return next();
    },
    (ctx: Koa.Middleware<IBar>, next) => {
      ctx.state.bar = "bar";
      return next();
    }
  ]),
  (ctx, next) => {
    // ctx here knows `ctx.state.foo` is `string`
    // and `ctx.state.bar` is `string`.
  }
);
```

Changes in this PR add that special case for one prepended middleware
for all route methods (`get`, `post`, `head`, etc).

It's not a breaking change - we keep old types here, we only add a
special more type-correct way of prepending one middleware before a
route handler.

What do you think?
2019-02-23 13:36:22 -06:00
Colin 7c723a81c5 Update aws-iot-device-sdk for version 2.2.0
Lifted documentioned directly from the readme:
 https://github.com/aws/aws-iot-device-sdk-js#job
Code change is here:
 https://github.com/aws/aws-iot-device-sdk-js/commit/234d170c865586f4e49e4b0946100d93f367ee8f
2019-02-23 11:22:48 -06:00
Haseeb Majid 05a76b557f Added screenProps
Added screenProps to DrawerItemsProps.
2019-02-23 12:55:12 +00:00
Mick Dekkers 52f566fbbc Fix progress-stream's ProgressStream by extending stream.Transform
This works around the issue described in Microsoft/TypeScript#30031

Unfortunately, we have to redeclare all on/once overloads from
stream.Transform in order to extend stream.Transform correctly.
2019-02-23 09:31:38 +01:00
Andrew Casey 8816e2e88c Merge pull request #33333 from airhorns/react-resizable
Add typings for react-resizable
2019-02-22 19:47:36 -08:00
Andrew Casey 6704f912d5 Merge pull request #33332 from petekp/patch-2
[Theo]: Fix registerTransform generic typing error
2019-02-22 19:46:27 -08:00
Pete a9193f42af Edit registerTransform typing 2019-02-22 18:38:54 -08:00
Andrew Casey ca7a19671f Merge pull request #33253 from adamzerella/types/is-natural-number
[is-natural-number] Add is-natural-number typing
2019-02-22 18:31:35 -08:00
Andrew Casey 3c66534763 Merge pull request #33255 from adamzerella/types/is-odd
[is-odd] Add is-odd typing
2019-02-22 18:31:27 -08:00
Andrew Casey 40270251b1 Merge pull request #33299 from fluggo/feature/pg-copy-streams
[pg-copy-streams] New module
2019-02-22 18:28:53 -08:00
Adam Zerella 3c7f7a0ece Added type string for isOdd param 2019-02-23 13:25:20 +11:00
Andrew Casey fbe974ea56 Merge pull request #33320 from oBusk/sha-3
[@types/sha] Bump version to 3.0
2019-02-22 18:23:24 -08:00
Andrew Casey 8d4e0ccd1f Merge pull request #33252 from feinoujc/pollyjs2
[@pollyjs/core] v2.2 updates
2019-02-22 18:22:04 -08:00
Andrew Casey 53683db09f Merge pull request #33233 from Vinnl/deprecate-detect-browser
Remove detect-browser - it now includes its own typings
2019-02-22 18:19:20 -08:00
Adam Zerella 695a83f2fd Added type defs for is-natural-number 2019-02-23 13:08:47 +11:00
Harry Brundage 8be301717e Add typings for react-resizable
- Package structure created via dtsgen
 - Initial typings generated from package version 1.7 using flow2ts
 - Types and tests edited by me to be nice and crispy
 - I am using this in a project myself and I figured it's time to upstream!
2019-02-22 19:53:36 -05:00