Commit Graph
67078 Commits
Author SHA1 Message Date
Cameron Hunter 7ede30d4fb yargs: Add array and demand types for positional arguments (#41721)
* yargs: Add array and demand types for positional arguments

* Fix formatting
2020-01-31 15:15:24 -08:00
Pedro Mutter 7a44c8e8de Types definition for the package @catho/quantum (#41991)
* simplecrawler modules type definition

* required fixes in export

* adjustments reference types of crawler.d.ts

* added catho__quantum types definitions

* Fix lint errors

* Fix lint errors

* Fix lint errors
2020-01-31 15:14:38 -08:00
Simcha Wood 6880eeb060 Add types package for winston-loggly-bulk (#41994)
* Add types for winston-loggly-bulk

* Fix tsconfig.json

* Fix Loggly class and update tslint.json

* Fixed tsconfig.json and adjusted exports

* Fix for failing tests

* Add needed extend to Loggly class
2020-01-31 15:13:19 -08:00
Karol Majewski df90a9baed Add definition for brotli-webpack-plugin (#42009) 2020-01-31 15:03:37 -08:00
Piotr Błażejewicz (Peter Blazejewicz) d02802bd23 fix(balanced-match): correct CommonJS definition. Fixes #41933 (#42021)
- definition updated
- tests updated
- prettier formatting applied

Thanks!
2020-01-31 14:37:39 -08:00
Arun George d2359661f7 Add types for react-beautiful-dnd v12 (#42010)
* update to v12 of rbd

* add sensors types

* add package.json and make sure everything is exported

* start resolving pr comments. pushing to make sure pr doesnt get cancelled

* complete copy from https://github.com/atlassian/react-beautiful-dnd/blob/master/src/types.js

* revert back to ts 2.8

* implement omit

* add explicit export to omit function
2020-01-31 14:29:37 -08:00
Joakim Unge fd12683a84 refactor: update type definitions for react-router-tabs (#41998)
* feat: update types for react-router-tabs

* test: rewrite tests with jsx

* refactor: change NavTab type
2020-01-31 14:28:26 -08:00
Chiciuc Nicușor 6dcaf3bed3 Add "NUM_FRACTION_DIGITS" as a static property on Object class. (#42004) 2020-01-31 14:27:38 -08:00
saostad fb9016f4c9 [ldapjs] better typing for SearchOptions interface (#42006)
* better typing for SearchOptions interface

better typing base on [official docs](http://ldapjs.org/client.html) for SearchOptions interface

* added Timeout in seconds for property timeLimit

added Timeout in seconds for property timeLimit
2020-01-31 14:27:21 -08:00
JennelleMaierPie 76f00ccabf add NUMBERS to plaid-link ViewNames (#42012) 2020-01-31 14:26:49 -08:00
Jack Bates d594835add [imap-simple] Infer type argument (#42013) 2020-01-31 14:26:09 -08:00
Alberto 18a62ae2d8 Accepting generic type for table definition (#42011) 2020-01-31 14:25:24 -08:00
hedaira de29d6ccb3 added in interface EObject getting "eContainingFeature" from EObject (#41997) 2020-01-31 13:33:57 -08:00
AppLover69 3e64bbf2b3 Add addEventListener() typings to MediaRecorder (#41880)
* Add `addEventListener()` typings

* Fix 'unified-signatures'

* Redefine event listener methods using tslib-style event map
2020-01-31 13:32:53 -08:00
Josh Henderson 728806f5f6 adding in maxDelayMs into options interface (#41995) 2020-01-31 13:32:31 -08:00
Artem Smirnov b04b366659 Added new type for ParseMode (#41990) 2020-01-31 13:30:58 -08:00
Simon Schick 88dcea1ac6 feat(node): v13.7 (#41859) 2020-01-31 13:30:41 -08:00
Elizabeth Samuel 27b7a0a4fd [office-js] [office-js-preview] (Outlook) Minor clean up (#41992) 2020-01-31 13:29:36 -08:00
Daniel Nixon 8dc7d715bd history Add generic type param to createPath (#41993)
This is required to fix fallout from https://github.com/DefinitelyTyped/DefinitelyTyped/issues/41674
2020-01-31 13:26:53 -08:00
Dmytro Gokun 63bf4488c8 [mapbox-gl] Update mapbox-gl to v1.7.0 (#42003) 2020-01-31 13:26:23 -08:00
Rémi Roycourt 338d1b8ada feat: add typings for react-messenger-checkbox (#41843)
* feat: add typings for react-messenger-checkbox

* fix(type-definition): major.minor version

* fix(lint): type definition

* fix(lint): rules

* fix(type): delete default export

* fix(type): export

* fix(tsconfig): strictNullChecks set to true
2020-01-31 11:27:54 -08:00
TypeScript Bot 86bd530585 Update CODEOWNERS (#42015) 2020-01-31 10:11:47 -08:00
ShinpeiandEloy Durán f7ba6e840d [@types/react-native] Fix: Animated Components are always any type (#41939)
* Fix: Animated Components are always any type

* Update index.d.ts

* Update types/react-native/index.d.ts

Co-Authored-By: Eloy Durán <eloy.de.enige@gmail.com>

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Fix: Ts Error

* Test: Animated.Image missing source prop

* Type: Animated Value Props

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Type: Bump Minimum TypeScript Version to 3.7

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Fix: no-unnecessary-qualifier

Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com>
2020-01-31 17:28:41 +01:00
Harry Goode 7092c0f044 Feature/react d3 graph (#41953)
* react-d3-graph types

This is our first time submitting something to this git repo.
This is the type definition for the node module 'react-d3-graph'.

* Test added

* tests fixed

* Update package.json

* Update react-d3-graph-tests.tsx

* Update package.json

* Delete package.json

* Create tslint.json

* Update index.d.ts

* Update react-d3-graph-tests.tsx

* Update package.json
2020-01-30 13:20:21 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 0e197b3fa6 feat(karma-firefox-launcher): types for version 1.3 (#41964)
- type definitions
- tests

Thanks!
2020-01-30 13:19:08 -08:00
Joakim Unge 74b6a1fcb4 feat: add type definitions for react-router-tabs (#41981) 2020-01-30 13:18:43 -08:00
microcai bd981cad96 update secp256k1 to reflect v4.x API (#41971)
* secp256k1: verify->ecdsaVerify

* secp256k1: Buffer->Uint8Array
2020-01-30 13:18:02 -08:00
Derek Finlinson 4e17ec2932 Add missing formContext.data.process event handlers (#41963)
* Fix ViewSelector methods

* Add missing event handler methods

* Add prevent default to stage change event args

* Remove whitespace

* Remove additional whitespace
2020-01-30 13:17:39 -08:00
Sander Bouwhuis 723e4e8201 Add nestedKey property to pino config (#41974) 2020-01-30 13:17:21 -08:00
Kai Wohlfahrt e9a1379b4b Add options argument to nodejs.streams.finished (#41975)
This optional argument allows ignoring the writable/readable/error
components of a stream.
2020-01-30 13:17:04 -08:00
Alex Robertson e3f24692a8 Add koaBunyanLogger.timeContext(opts) (#41977)
https://github.com/koajs/bunyan-logger#koabunyanloggertimecontextopts

> koaBunyanLogger.timeContext(opts)
> Adds time(label) and timeEnd(label) methods to the koa context, which records the time between the time() and timeEnd() calls for a given label.
>
> Calls to time() and timeEnd() can be nested or interleaved as long as they're balanced for each label.
>
> Options:
>
> logLevel: name of log level to use; defaults to 'trace'
> updateLogFields: function which will be called with arguments (fields) in koa context; can update fields or return a new object.
2020-01-30 13:15:39 -08:00
Piotr Monwid-Olechnowicz c388d9eb1e Reexport @theme-ui/components from theme-ui (#41915)
* Reexport @theme-ui/components from theme-ui

* Rename initialColorMode to initialColorModeName

* Change required TS version of @types/theme-ui to 3.5
2020-01-30 13:15:22 -08:00
jlismore 545837cb3e Update phone-input props (#41957)
Replace oudated props
Add jsdoc help to most functions
Update util function types
2020-01-30 13:13:59 -08:00
Yuichiro Tsuchiya 8ee889684b [@types/lodash] Fix development scripts in types/lodash/scripts (#41856)
* Move shebang to the first line and add permission to execute the file

* Fix types/lodash/scripts/generate-modules.ts to generate files same to the commited ones
2020-01-30 13:12:02 -08:00
Louis DeScioli 9ad9bdfbc7 Updates emscripten types (#41966)
Adds `canOwn` parameter to createDataFile File System method
2020-01-30 13:08:02 -08:00
Paito Anderson 47403b246b [google-maps-react] Fix InfoWindow Types (#41799)
* [google-maps-react] Fix InfoWindow Types

* Bump TypeScript
2020-01-30 13:07:30 -08:00
Eve Shum 8123af1bee types/Sharedb - add an optional agent parameter to the client connection (#41955)
* add an optional agent to the client sharedb connection

* remove myself as a contributor, set agent to be agent or null

* add docs
2020-01-30 13:06:41 -08:00
Piotr Błażejewicz (Peter Blazejewicz) cca9809877 feat(webpack-dev-server): contentBasePublicPath from v3.10 (#41962)
- property added
- test update
- version bump

Thanks!
2020-01-30 13:06:01 -08:00
Tomasz Pluskiewicz bcfad61323 fix: stub out the Context class (#41961)
* fix: stub out the Context class

* fix: _context is actually an array

* fix: single term = single context
2020-01-30 13:05:38 -08:00
Rodrigo Saboya 4e24fd4188 [hapi__hapi] moving app to CommonRouteProperties (#41968) 2020-01-30 13:05:05 -08:00
Ștefan-Gabriel Muscalu 9436e05e57 [@types/hapi__joi]: Revert "implement validate value return types" (#41788) (#41976)
This reverts commit 636c69bb
2020-01-30 13:04:31 -08:00
Connor Fitzgerald 29ee60f8dc [swagger-stats] Make opts optional in getMiddleware (#41984)
* Allow undefined bind parameters

* Upgrading oracledbto 4.1

* Update version number

* Fix tsconfig typo

* Make opts optional for getMiddleware
2020-01-30 13:01:23 -08:00
Elizabeth Samuel 43be2f462e [office-js] [office-js-preview] (Outlook) Additional error on getAtta… (#41982)
* [office-js] [office-js-preview] (Outlook) Additional error on getAttachmentContentAsync

* Updates based on feedback
2020-01-30 12:57:13 -08:00
Hammad Jutt 649d81b915 Improve styled-system type safety by using generics for all properties (#41903)
* Improve styled-system type safety by using generics for all properties

This allows for type safety for values in a theme using generics (e.g. you wont be allowed to use breakpoints that arent defined in your theme), as well as being able to  use styled-system in Platforms like React Native where the valid values for CSS properties are different.

The generics have been set to the defaults they were before, so backwards compatibility is preserved, but now you have the power to customize the typings to be specific to the values in your theme.

* Bump TS version to 2.9 in styled-system

* Set minimum TS version to 3.0 in styled-system

* Fix BackgroundColorProps type in styled-system to use ThemeValue

* Update typings to be compatable with TS 2.9

* Fix type errors from theme-ui and rebass

* Fix linting errors in theme-ui and styled-system
2020-01-30 20:57:13 +01:00
Remco Haszing 21ff11349a Add types for serviceworker-webpack-plugin (#41914)
* Add types for serviceworker-webpack-plugin

These type definitions are for the injected code, not for the plugin itself.

* Finalize typings for serviceworker-webpack-plugin

Now also types have been exported for the Webpack plugin itself.

* Add generic option for ServiceWorkerWebpackPlugin

* Convert serviceworker-webpack-plugin default export to module.exports
2020-01-30 11:00:50 -08:00
Nickolay Kulikov 598594d850 add types for react-helmet-with-visor, fork of react-helmet with an a… (#41944)
* add types for react-helmet-with-visor, fork of react-helmet with an ability to inject SEO-like scripts at runtime.

* remove linting suppressions

* fix types errors I could see from Azure pipeline

* fix forgotten semicolons
2020-01-30 10:55:34 -08:00
Kelvin ChuandEloy Durán e8899e3dd4 [react-native] Update Flatlist methods. (#41969)
* Update Flatlist methods.

* Update types/react-native/index.d.ts

Co-Authored-By: Eloy Durán <eloy.de.enige@gmail.com>

Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com>
2020-01-30 16:12:46 +01:00
Jussi Kinnula 6f1f5c8b4f Add browser-or-node types (#41910) 2020-01-29 14:14:43 -08:00
Eric Wang 6127fb8e61 Add class property to html webpack plugin (#41831)
* Add class property to html webpack plugin

* .

* fix ci
2020-01-29 14:14:27 -08:00
tomer-openfin 818a143c84 Adding OpenFin Platform and View APIs coverege (#41959)
* init

* removing files

* removing other_files

* reverting typescript version

* fd

* revert

* ver bump

* root

* tsconfig fix

* testing something

* reverting

* adding views

* imports

* adding a file to other_files

*  fixing other_files

* adding platform to other_files

* adding entity-type file to other_files

* fixing v45 version #

* adding view tests

* new line
2020-01-29 13:58:54 -08:00