Commit Graph
62419 Commits
Author SHA1 Message Date
Kalvis Kalniņš 62448ddf78 fix(Operation): default to wide type 2019-01-07 15:19:19 +02:00
ryuuji3 ca9a09cf64 Removed unnededed import 'AnySchema' from Joi 2019-01-07 13:11:39 +00:00
Søren Bruus Frank 15c3901e68 tsconfig. 2019-01-07 12:58:21 +01:00
MaikTizziani 37573444ef added contributor name 2019-01-07 12:23:54 +01:00
Søren Bruus Frank c3652f1370 Fixed path mapping for v6. 2019-01-07 12:10:27 +01:00
Søren Bruus Frank 18cad92afe Added files from v6 folder with files from version 6.0. 2019-01-07 12:00:18 +01:00
MaikTizziani 2c69e217c7 added load method definition to Parameters 2019-01-07 11:55:51 +01:00
Søren Bruus Frank 1bf6e46582 Adapted tests to changes. 2019-01-07 11:52:07 +01:00
Søren Bruus Frank d1bd470288 Renamed type of inner value of context. 2019-01-07 11:51:52 +01:00
Søren Bruus Frank a65dcd6f40 Removed createProvider function. 2019-01-07 11:48:33 +01:00
Nicolas Penin 43f9cfc7f1 fixed coding convention 2019-01-07 10:51:47 +01:00
Johan Brook 6528fd7ab1 HLS.js: Bump version to 0.12 2019-01-07 10:49:27 +01:00
Johan Brook 85013ba4f5 HLS.js: Add liveBackBufferLength property to Hls.Config 2019-01-07 10:49:14 +01:00
Johan Brook f968fb1e6c HLS.js: Add support for custom logger object in debug option 2019-01-07 10:41:24 +01:00
Terry Mun 034e6e8e62 The Set.Animate requires support for optional tuples, TS3.0 required 2019-01-07 09:40:23 +01:00
张鹏波 e821f3072d 完善网络,路由部分 2019-01-07 15:49:11 +08:00
Kevin Groat 4ebd738543 Fixed linting errors 2019-01-06 22:58:48 -05:00
Kevin Groat 3781aa7ff3 Fixing relative location import 2019-01-06 22:29:41 -05:00
Kevin Groat ad3a04f91f No longer relying on webpack for plugin definition 2019-01-06 22:23:33 -05:00
Kevin Groat f9da1d1436 Returned TypeScript Version 2019-01-06 22:05:48 -05:00
Kevin Groat cba2526204 fixed test name in tsconfig 2019-01-06 22:01:15 -05:00
Oskar Lindgren 3dd2fd8b75 add deviceName needed for appium
When using webdriverio for appium the DesiredCapability deviceName is 
needed.
2019-01-07 11:42:19 +09:00
Oskar Lindgren 79d1731c9a change browserName to optional
webdriverio Capabiliy browserName is not mandatory when using appium for 
mobile testing
2019-01-07 11:35:49 +09:00
Kevin Groat 7654854150 Fixed linting issues 2019-01-06 21:07:52 -05:00
Kevin Groat cf89ad1507 Renamed tests file 2019-01-06 20:53:53 -05:00
Kevin Groat 9f677e0247 Fixed typescript version line 2019-01-06 20:49:05 -05:00
Kevin Groat eca3ccbfac Fixed compiler & linter issues 2019-01-06 20:41:51 -05:00
Kevin Groat 84b76bf1eb Made manifestTransforms accept a ReadonlyArray 2019-01-06 20:40:59 -05:00
Kevin Groat 279827ac2f Added typings for workbox-webpack-plugin 2019-01-06 20:28:38 -05:00
Jari Pennanen b47a234907 trailing spaces huh 2019-01-07 00:44:49 +02:00
Jari Pennanen 23625dac03 typo... 2019-01-07 00:37:49 +02:00
Jari Pennanen 4d6fe35d64 this is also optional according to Google documentation. 2019-01-07 00:35:45 +02:00
Jari Pennanen f000c4700c removed my reformatting hassle, sorry. 2019-01-07 00:32:08 +02:00
Matías Olivera 385bb50a98 Add type RegisterAsyncCallback 2019-01-06 19:11:42 -03:00
Anton Astashov 4de11f4fb3 [@types/koa-router]: Parameterize Router
After #31704 it would be useful to specify what is `Context.State` and
`Context` inside the `Router`'s handlers. For that, we could provide
a way to parameterize `Router` (also fallbacking to default `any` and
`{}` in case the generic type params are omitted).

So it would work like that:

```ts
type MyState = {foo: string}
type MyContext = {bar: string}

const app = new Koa<{}, {}>();
const router = new Router<MyState, MyContext>();
router.get('/', (ctx, next) => {
    // ctx here is Koa.ParameterizedContext<MyState, MyContext & IRouterContext<MyState, MyContext>>
    console.log(ctx.state.foo);
    ctx.body = 'Hello World!';
});
app.use<MyState, MyContext>(async (ctx, next) => {
        ctx.state.foo = "foo"
        ctx.bar = "bar";
        await next();
    })
    .use(router.routes())
    .use(router.allowedMethods())
    .use(async (ctx, next) => {
        // ctx here is Koa.ParameterizedContext<MyState, MyContext & IRouterContext<MyState, MyContext>>
        console.log(ctx.router);
        console.log(ctx.bar);
        await next();
    })
    .listen(3000);
```

But if we don't parameterize `Router`, it will work as before:

```ts
const app = new Koa();
const router = new Router();
router.get('/', (ctx, next) => {
    // ctx here is Koa.ParameterizedContext<any, IRouterContext>
    ctx.body = 'Hello World!';
});
app.use(async (ctx, next) => {
        ctx.state.foo = "foo"
        ctx.bar = "bar";
        await next();
    })
    .use(router.routes())
    .use(router.allowedMethods())
    .listen(3000);
```

What do you think?
2019-01-06 16:11:24 -06:00
Jari Pennanen b77685931d breaks, breakClips, metadata
These values have too strict definitions, they are defined in https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages.MediaInformation#metadata as undefined.

My vscode ran the file through prettier, not sure if it added extra changes I didn't intend.
2019-01-07 00:05:23 +02:00
PopGoesTheWza 4c81248b90 January 4, 2019 2019-01-06 22:56:22 +01:00
Matías Olivera 0f3459152d Make optional the argument "message" 2019-01-06 18:56:00 -03:00
Matías Olivera 7f0b66c459 Add type RegisterCallback 2019-01-06 18:50:41 -03:00
PopGoesTheWza b8332e14d5 Merge pull request #2 from DefinitelyTyped/master
sync
2019-01-06 22:30:31 +01:00
Matías Olivera f5a867e210 Use interface Rules in Validator
Related with commit 1e6edecd00
2019-01-06 18:06:26 -03:00
Matías Olivera 7e6e4d7915 Correct the return value of the first method
It return the first error message or false. It never returns true.
2019-01-06 18:00:03 -03:00
Matías Olivera 70385fd6e6 Fix interface ValidationErrors 2019-01-06 17:51:44 -03:00
Matías Olivera da6d526cb0 Use ES6 syntax 2019-01-06 17:43:31 -03:00
Matías Olivera d79a32cd8c Separate the tests with comments 2019-01-06 17:40:38 -03:00
Matías Olivera 1e6edecd00 Add interface Rules 2019-01-06 17:20:06 -03:00
Matías Olivera 19d40360f8 Code formatting with Prettier 2019-01-06 16:49:16 -03:00
Matías Olivera 20adc13e50 Delete the interface ParsedRule
It isn't used in any place.
2019-01-06 16:22:52 -03:00
Jason Killian 3ad75fac4d [expo] Add types for SecureStore keychain item accessibility constants (#31840)
* [expo] Add types for SecureStore constants

* add use of keychainService; improve options types for getItemAsync and deleteItemAsync; test all SecureStore constants
2019-01-06 11:07:43 -08:00
Justin Hall f1762ec1a7 Remove typings for hibp (#31912) 2019-01-06 11:06:50 -08:00