Commit Graph
62569 Commits
Author SHA1 Message Date
Nathan Shively-Sanders 01f1505046 Fixes from express-service-static-core cleanup (#35704)
CI missed some dependencies.

Also update opossum's project url.
2019-05-24 08:28:54 -07:00
George Cheng cdc4f7e325 react-native: Fix the return type of queryCache (#35681)
* Fix the return type of queryCache

Ref: https://github.com/facebook/react-native/pull/23602

* fix

* lint

* Add queryCache test to Image
2019-05-24 10:50:42 +02:00
Nathan Shively-Sanders 674a7033d6 Add most components of ListIteratee to Collection.orderBy (#35667)
[PropertyName, any] breaks contextual typing of ListIterator, so I left
it out.
2019-05-23 08:24:48 -07:00
Nathan Shively-Sanders cb1b8a1884 lodash: Add String.includes and StringChain.includes (#35662)
* Add String.includes and StringChain.includes

They work with the static version even though the types look like they
should only work with non-infinitely-typed collections.

* Fix ; lint
2019-05-23 08:24:19 -07:00
Florian Keller 3fa33b4f74 [sql.js] Add types for v1.0.0 (#35660) 2019-05-22 10:57:56 -07:00
lincoln 7c60c01ab5 v14.3.1 (#35615)
* fix bugs with types

* fixed type errors

* more type errors fixed

* fixed errors and added missing type definitions

* fix all typos and added all missing ones

* change inappropriate names

* Updated names to be more accurate.

* adds EnumDWT_ConvertMode to make compatible with the old enum

* update to 14.2

* add v13

* delete v13 for test not pass

* remove base64

* fixed conflict

* add back GetLicenseInfo

* change header version to 14.2

* Added definitions for new APIs as well as APIs whose definitions were missing before. Also adding APIs for addons

* remove unused file

* adding types for barcode reader and changing the copyright year

* comment change, TS to 3.2.2

* adds more definitions to dwt barcode reader

* rollback

* update

* update index.d.ts

* Update Dynamsoft.d.ts

It's ok

* Update index.d.ts

1. update 2017 -> 2019
2. update parameters

* Update index.d.ts

rollback

* Update index.d.ts

rollback

* Update addon.pdf.ts

rollback

* Update index.d.ts

rollback

* Update index.d.ts

rollback

* Update index.d.ts

rollback

* Update index.d.ts

rollback

* Update index.d.ts

no changes but whites

* Update index.d.ts

TypeScript Version can be 3.2
2017 => 2019

* Update index.d.ts

rollback

* update

* Update index.d.ts

start new request

* Update index.d.ts

delete this file

* Update

delete this file

* a

a

* rollback

* update

* remove package.json

* add current version to v13

* 1) update to version 14.3.1
2) change index.d.ts declare Dynamsoft

* update comments

* remove WebTWAIN.d.ts

* change v13 tsconfig.json

* change to v14.3.1

* change to v14.3.1

* change to version 14.3

* change to version 14.3

* update

* update

* Update index.d.ts

* Update index.d.ts

* Update tsconfig.json

* Update tsconfig.json

* update

* update

* aa

* a

* a

* update

* remove dwt.d.ts

* remove v12

* update1

* update

* update

* a

* a

* a

* a

* a

* a

* a

* a

* d

* a

* a

* b

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d
2019-05-22 10:57:27 -07:00
Jake Bloom 3efd8e7833 [react-native] Accurate types for local notification scheduling (#35635)
* [react-native] Accurate types for locaocal notification scheduling

* Fire date is actually number | string

* Fix test
2019-05-22 10:14:48 -07:00
Joel Nordström 858a21c865 Fix react-native-platform-touchable (#35658)
The type of the `foreground` prop is a BackgroundPropType, not a
boolean. In fact, if you pass a boolean like the previous types
suggested, you get a crash.
2019-05-22 10:11:39 -07:00
Pascal Corpet 1c3052464c [react-select] Fix the default exported component by using the StateManager (#35401)
* [react-select] Fix the default exported component by using the StateManager.

* Follow more strictly the react-select's library types.
2019-05-22 10:10:34 -07:00
Hugo Sánchez 1240ab3b3a @types/server: Added context's log property and function definition (#35643)
* Added Context's log property and function definition

* Run test and added github account to definitions by
2019-05-22 09:47:05 -07:00
Hanwoong d573e56ed2 Swiper add Thumbs types (#35616)
add Thumbs types
2019-05-22 09:46:41 -07:00
Pascal Corpet 4b589cecf4 [sha-1] Strongly type the output using overloads. (#35645)
See options doc at https://github.com/pvorb/node-sha1.
2019-05-22 09:45:00 -07:00
Brian Lagerman 11994525b0 Metalsmith type definitions (#35652) 2019-05-22 09:40:51 -07:00
Erik Källén acd1c04ea3 Typings for vssln-parser (#35651) 2019-05-22 09:31:31 -07:00
segayuu 635592e97f Create types: @types/json-stream-stringify (#35655)
* Create(dts-gen): create json-stream-stringify

* Define type JsonStreamStringify class

* Create Test

* Enable strictFunctionTypes

* Fix lint Errors
2019-05-22 09:29:10 -07:00
hafiz 84f7012fdd Add typings for Kythe schema objects (#35644) 2019-05-22 09:22:06 -07:00
Marc Veens c0a7ca952f Added initial types for react-gtm-module (#35620)
* Added types for react-gtm-module

* Fixed some tslint issues
2019-05-22 09:19:00 -07:00
Eduard Zintz 2f577f967c Create typings for "passport-google-oauth20" (#35640) 2019-05-22 09:17:36 -07:00
Anton Astashov 4e4f50a2fc @types/koa-compose: Add more typed compose cases (#35298)
* @types/koa-compose: Add more typed compose cases

Right now if you want typesafe compose, you have to compose composes by
2-element arrays. I.e. if you have 4 middlewares you want to compose
together, and you want to do that in a typesafe way, without losing type
information, you have to do it like this:

```ts
import compose from "koa-compose"

const myMiddleware = compose([
  firstMiddleware,
  compose([
    secondMiddleware,
    compose([
      thirdMiddleware,
      fourthMiddleware
    ])
  ])
]);
```

It works, but looks clunky it complicated. Would be cool to still have
type-safe way of composing, but with less clunkiness. Like:

```
import compose from "koa-compose"

const myMiddleware = compose([
  firstMiddleware,
  secondMiddleware,
  thirdMiddleware,
  fourthMiddleware
]);
```

It's hard to solve that issue for general case, but we could just add
typesafe compose overrides for up to e.g. 8-element arrays. If it's more
than 8 - you still can compose composes. But in general IMHO it will
reduce clunkiness of it.

* @types/koa-compose: Add Anton Astashov to the list of maintainers
2019-05-22 09:13:50 -07:00
Harry Hedger 083ba71eab Params and Payload now have index signatures. Added Query interface. (#35500)
* Params and Payload should have index signatures

* Converted type to interface

* Created Query interface for query parameter object

* added harry hedger to contributors
2019-05-22 09:11:26 -07:00
Florian Keller b1ca386416 Add types for multiple vigour.io projects (#35629)
Included projects:
* is-number-like
* quick-hash
* turbostatus
* vigour-ua
2019-05-22 09:07:08 -07:00
Richard Honor b244a1ab2e [ping] Add new definition file for ping (#35618)
* Add definitions for node-ping

* Fix linting and test errors
2019-05-22 09:04:26 -07:00
jameskeiger 70eeed4f7d stripe types: add field "description" to ITransferCreationOptions (#35531) 2019-05-22 08:55:19 -07:00
Konrad Borowski d0912389d0 Enable ban-types in express-serve-static-core (#35539) 2019-05-22 08:54:38 -07:00
Jed Mao 1895488dec Fix, add types to Inquirer.js (#35489)
* Introduce chalk-pipe types

* Fix, add types to Inquirer.js
2019-05-22 08:26:58 -07:00
PopGoesTheWza e01d6e7abb google-apps-script May 20, 2019 update (#35597)
* FieldType enum:
HYPERLINK
IMAGE
IMAGE_LINK

* Documentation text update

* May 3, 2019

* May 20, 2019

* fixed?
2019-05-21 13:11:29 -07:00
Flexmonster Pivot Table 5483c8c4f4 Update flexmonster package (#35628)
* Added options.chart.axisShortNumberFormat

* validateFormulas option in Flexmonster

* new option properties were added

showFieldListSearch
strictDataTypes

* Added ContextMenuItem.class
2019-05-21 13:09:38 -07:00
Eric Camellini f579deb24f Fixing two minor defects in openpgp typings (#35632)
* Making user and email optional in user id

* Adding primaryKey attribute to Key

* Improving types
2019-05-21 13:05:53 -07:00
Manuel Thalmann f106c413ce Remove all enum-declarations from the "tablesorter" module (#35624) 2019-05-21 13:04:38 -07:00
Anthony Foster f35549183f [braintree] Fix some types (transaction.status, clientToken.generate(...)) (#35571)
* [braintree] Fix some types

- Transaction statuses are `snake_case`
- `clientToken.generate(...)` response is `{clientToken: string, success: true}`

* [braintree] Use ValidatedResponse generic for client token
2019-05-21 13:03:00 -07:00
Chris Crewdson 44bc7d92bd Update catbox and catbox-memory defaults and options extension (#35612)
* Make partition optional (as catbox provided a good default) and make catbox-memory options extend catbox options like other adapters

* Add more tests
2019-05-21 13:00:54 -07:00
Quentin Aupetit c02a57b36f [@loadable/server] Missing publicPath in ChunkExtractorOptions (#35594) 2019-05-21 13:00:19 -07:00
xibre a4ca3e967b [@types/mapbox-gl] Expose MercatorCoordinate class (#35553) 2019-05-21 12:58:59 -07:00
aDEVE d625bf3d51 [Algolia]: Fix AlgoliaPlaces (param language) (#35589)
* 🚑 Fix type when there is a param language in query

* 📓 Extend generic type
2019-05-21 12:55:12 -07:00
Julian Hundeloh 5251fb7936 fix(hapi_nes): correct path to client (#35435)
* fix: correct path to client

* fix: Client is not exported as default

* fix: handler in unsubscribe is optional
2019-05-21 12:54:18 -07:00
Katsuya Hino 0375490ebb [fetch-mock] Add params and functionMatcher(v7.3~) to MockOptions (#35619)
* [fetch-mock] Add params to MockOptions

* [fetch-mock] Add functionMatcher to MockOptions
2019-05-21 12:53:55 -07:00
Hitko Development 283d30a07a Deprecate disableAutoBOM as per file-saver 2.0 (#35617)
* Deprecate `disableAutoBOM` as per FileSaver 2.0

* Lint rules
2019-05-21 12:53:24 -07:00
Nathan West 6bad2d5410 Updated Twitter for Websites (#35576)
* Updated twitter-for-web definitions

* Use a type union instead of an interface

* Slightly simplified type definition

* Simplified type definitions some more

* Fixed prettier broken output on old typescript
2019-05-21 12:50:52 -07:00
Stephen Niedzielski cd24f56a17 [Webpack] Update: logging stats presets (#35534)
Add the new errors-warnings preset shipped in v4.31.0.

https://github.com/webpack/webpack/releases/tag/v4.31.0
2019-05-21 12:50:19 -07:00
Dhalton 19639a0aaf [styled-system] Make N a generic on style and add typedef for scale (#35556)
* Add generic for N and typedef for scale

* Make style scale generic with a default
2019-05-21 11:49:29 +02:00
Christopher Pappas 4550017146 [react-tracking] Add types for useTracking hook (#35607) 2019-05-21 11:46:17 +02:00
Charles Toller 46cec09177 [@types/react] Add referrerPolicy to iframe attrs in React (#35450)
* Add referrerPolicy to iframe attrs in React

* Remove extra change
2019-05-20 16:10:47 -07:00
jgeth 2410b43e91 Updates engine-check definition for default module export (#35605)
checkVersion() is the module export from source package
Updates type definition accordingly and namespaces the config option interface
Updates tests to reference new definition

Updates version to 1.1
2019-05-20 15:37:03 -07:00
Pierre FROMAGER 6818b51c5b IChartistSeriesData.data is not only an array of number (#35490)
* bugfix/DefinitelyTyped : IChartistSeriesData.data is not only an array of number

* bugfix/DefinitelyTyped : IChartistSeriesData.data is not only an array of number cleaner

* test/DefinitelyTyped : IChartistSeriesData.data is not only an array of number - Test

* test/DefinitelyTyped : IChartistSeriesData.data  - Test - missing ending new line
2019-05-20 14:30:36 -07:00
Seulgi Kim 7f87a12b2b [workerpool] Fix the type of Promise.all() (#35480) 2019-05-20 14:23:57 -07:00
Guo Yunhe 2e1423b993 react-syntax-highlighter: add async build types (#35470) 2019-05-20 14:19:08 -07:00
Geonwoo Jeong 09505a25ab [connect-mongo] Fix typo (#35477) 2019-05-20 14:18:08 -07:00
Will Olson 3b9ee2c63a export YouTube props (#35451) 2019-05-20 14:15:05 -07:00
mgdodge 7fc7053dee Update okta__okta-vue with changes in 1.1 (#35447)
* Update okta-vue config options, deps, version #

* Clean up formatting
2019-05-20 14:12:55 -07:00
Tomohiro Ogoke 1a6d749bd5 [jszip] Add decodeFileName option for JSZipLoadOptions interface (#35434) 2019-05-20 14:12:33 -07:00