Commit Graph
51567 Commits
Author SHA1 Message Date
Nikolaj Kappler 7e12876f17 fix strictNullChecks
workstream:
2018-10-29 13:17:00 +01:00
Nikolaj Kappler 95f368fb9a lint fixes
workstream:
2018-10-29 12:51:28 +01:00
Nikolaj Kappler 2539f72c36 cleanup, fixes
workstream:
2018-10-29 11:11:03 +01:00
Nikolaj Kappler 961d7e1dcf comments and fixes
workstream:
2018-10-29 10:55:27 +01:00
Nikolaj Kappler 74ec6cab60 added doc comments to infer and fixed a few things.
workstream:
2018-10-25 13:54:12 +02:00
Nikolaj Kappler e4456fa069 made constructorOptions more precise, made Query extensible
it is necessary to be able to extend the type Query, in order to use the
defineQueryType and request functions in a useful way.
see tern.test.ts for an example.

in the tern constructor options, the signature of getFile now depends on
the async flag as it should.

workstream:
2018-10-24 18:03:05 +02:00
Nikolaj Kappler c860c53562 fixed duplicate definition of Type
workstream:
2018-10-23 14:22:11 +02:00
Nikolaj Kappler 5bc9309ef6 initial commit for tern types
workstream:
2018-10-23 14:09:58 +02:00
Nikolaj Kappler 5998a3b20d Merge pull request #3 from DefinitelyTyped/master
update fork
2018-10-23 13:29:51 +02:00
Dan Manastireanu 3ea5ad14c4 @types/bull Update to version 3.4.8. Closes #22673 #23965 #18911 (#29875)
* @types/bull Update to version 3.4.8. Closes #22673 #23965 #18911

* Fix return type for moveTo* methods
2018-10-22 09:38:28 -07:00
Leonard Thieu c6fe757c0d [jquery] Fix TContext declaration of jQuery.proxy on wrong value's type. (#29930)
* [jquery] Match parameter names to documentation more closely.

* [jquery] Add documentation to parameters.

* [jquery] Fix `TContext` declaration on wrong value's type.

Declaring `this` as `TContext` on the input function ensures that it can handle having its context changed to `TContext`. Declaring `this` on the output function is not important because the function will be already defined. It can also get in the way when passing a callback to a function whose callback parameter has `this` declared.

* [jquery] Drop constraint from `TContext`.

It's not really necessary and it is possible to pass primitives as the context.
2018-10-22 09:28:30 -07:00
Gabor Babicz 6e675310cc Declare enableFeature (#29927)
* Declare `enableFeature`

* Add missing newline

Co-Authored-By: zeppelin <gabor.babicz@gmail.com>
2018-10-22 09:27:54 -07:00
Jeow Li Huan 434800bc66 @lingui/macro: Add Typescript definitions. https://github.com/huan086/lingui-typings/issues/2. (#29925) 2018-10-22 09:27:08 -07:00
Leonard Thieu 59b32e5353 [jquery] Add self-extending overloads of jQuery.extend(). (#29924) 2018-10-22 09:25:28 -07:00
Jungwoo An daa2f21886 Add new typings for consola (#29923) 2018-10-22 09:24:51 -07:00
Alessandro Burato 47d137af32 Type definitions for zipcelx (#29917)
* Type definitions for zipcelx

* add strictFunctionTypes to tsconfig.json
2018-10-22 09:21:30 -07:00
Mike Engel 98a045b99c feat(dev-ip): Add types for dev-ip (#29913) 2018-10-22 09:16:46 -07:00
ksnil cbcc683dee Fix handleFilterSuggestions return type (#29912) 2018-10-22 09:15:51 -07:00
Yuri Araújo 91bbf4c1b2 Mustache: tags should be a string array (#29886)
* Parameter update according to Mustache documentation

* correction in comment

* Version

* Substituição de tipo any por string[]
2018-10-22 09:09:14 -07:00
Nicolas Chaulet 9566c07768 Add types for basicauth middlewares (#29876) 2018-10-22 09:08:34 -07:00
ClaytonAstrom 54dbb6af2c Added @disabled testhook (#29790) 2018-10-22 09:01:40 -07:00
woutervh- 9efeea3ac3 [nwmatcher] Created types for nwmatcher (#29778)
* Created types for nwmatcher

* Rename class -> className, fix tests

* Remove duplicate test case

* Added global namespace for accessing global matcher

* Moved tests to test folder, added separate global and module test files
2018-10-22 08:56:10 -07:00
Simon Schick fa01268068 fix(hapi): make cache generic (#29904) 2018-10-22 11:56:04 -04:00
Edward Sammut Alessi 01d1a10091 Update react-select types (#29774)
* Update types

* Update Select.d.ts

* Fix lint

* Change back quote style

* Fix formatGroupLabel
2018-10-22 08:55:22 -07:00
Andy ad45c4ce2b [jest] Definition authors (#29763) 2018-10-22 08:54:26 -07:00
wolfy1339 ce0f54a891 [pouchdb-core] Fix Blob interface by including dom (#29755)
* [pouchdb-core] Fix Blob interface by including dom

error TS2304: Cannot find name 'Blob'

* [pouchdb-core] duplicate Blob interface inline (#1)

Forward declare Blob instead of using a triple-slash directive.
/// <reference types="dom"> looks for 'dom' in Definitely Typed, but the 'dom' lib is built into TypeScript.
2018-10-22 08:50:43 -07:00
vidi42 34475b21d6 Changed parameter query to phoneNumber in googlemaps service. Closes #29308 (#29744)
* Closes #29308

* Changed parameter `query` to `phoneNumber` in googlemaps service. Closes #29308

* Changed executeSync `params` parameter to optional Closes: #29844

* Revert "Changed executeSync `params` parameter to optional Closes: #29844"

This reverts commit c57d941a9f.
2018-10-22 08:49:02 -07:00
Hitoshi Otsuki c40e8625a2 Change type of setMode parameter from string to Mode (#29737)
* google-apps-script: fix type of setMode parameter to Mode

* google-apps-script: resolve lint errors
2018-10-22 08:47:46 -07:00
Ullrich Schäfer da2e09f603 [react-native-share] Syncing with flow types from repo (#29736)
The types `Options` and `MultiOptions` as well as `OpenReturn` and
`ShareSingleReturn` are taken directly from
https://github.com/react-native-community/react-native-share/blob/7535726eb42205260c09d9f0a2b39ba6d00ebc2c/index.js
and have only have been transformed to interfaces.

The signature of the `shareSingle` call is missing `social` in the
official repo as well, but from the native code it becomes apearent that
it is required: https://github.com/react-native-community/react-native-share/blob/7535726eb42205260c09d9f0a2b39ba6d00ebc2c/ios/RNShare.m#L85-L122
2018-10-22 08:47:20 -07:00
Kamran Ayub 2ed0fa2d7e react-joyride: Fix callback type definition and add test (#29716)
* Fix callback type definition and add test

* Update version

* Add disableScrolling and showSkipButton

* Fix trailing whitespace
2018-10-22 08:42:55 -07:00
Avi Vahl 66a936b0a7 http-proxy-middleware: avoid installing winston as a dep of types package (#29678)
* http-proxy-middleware: avoid installing winston as a dep
per https://github.com/Microsoft/dtslint/pull/144

* package.json can be removed completely
since it has no deps
2018-10-22 08:39:09 -07:00
Doug Kent 8f7d68807b [web3]: fix eth.getBalance return type (#29093)
* fix eth.getBalance return type

* fix callback return type too

* docs are wrong, should be BigNumber

* added overload and tests

* correct optional params to be non-optional, add tests
2018-10-22 08:36:43 -07:00
Daniel Luz 22fd132d2e Allow null for reset on google.visualization.DataTable.setFormattedValue() (#29721) 2018-10-22 08:32:39 -07:00
Andy 0e95a07e46 multer-gridfs-storage: Depend on latest mongodb (#29899) 2018-10-19 17:35:44 -07:00
Andy 769472a079 redux-testkit: Use "*" dependencies (#29895) 2018-10-19 17:08:01 -07:00
Andrew Musgrave c65f587f01 Adjust threejs types (#29893) 2018-10-19 17:02:38 -07:00
Andy f109134113 wepy-redux: Fix --strictFunctionTypes error (#29892) 2018-10-19 15:09:02 -07:00
Dan Freeman 1e07d02f5d [broccoli-plugin] Introduce types (#29888) 2018-10-19 15:02:41 -07:00
Andy 3c33ad3938 winston-mail: Fix "@types/winston" dependency (#29891) 2018-10-19 15:01:53 -07:00
Ben Grynhaus bb0154f412 Add stylenames types (#29880) 2018-10-19 09:25:02 -07:00
Caner Dağlı 0343403c57 Removed the global declaration in the sprintf-js package (#29879)
* Removed the global declaration

* Added a blank line to the end of the file
2018-10-19 09:09:10 -07:00
Chun-Yan Ho be373f1f6d add subQuery option (#29872) 2018-10-19 09:06:55 -07:00
Duong Tran 2093b5c036 [Mobx-cookie] add a new type definition (#29868)
* feat: add type definition for mobx-cookie

* fix: update version and add strictFunctionTypes to satisfy the test
2018-10-19 08:57:42 -07:00
Abraham Williams 8fe8a7bf58 Twit: Add strictSSL to Options (#29866) 2018-10-19 08:55:54 -07:00
Andreas Bergqvist c76ce3bec0 Add typings for nookies (#29857)
* Add typings for nookies

* Set strictFunctionTypes to true

* Fix get function return type

* Add semicolons
2018-10-19 08:54:22 -07:00
Aimee Gamble-Milner 5508e44eee Add react-syntax-highlighter prism component and language typings (#29586)
* Add react-syntax-highlighter prism component types

* Add prism language support and correct multiple spaces
2018-10-19 08:44:09 -07:00
Ryan be662c475d Added types for existing snowball-stemmers package (#29854)
* added types for existing snowball-stemmers package

* added strictFunctionTypes to tsconfig

* fixed lint spacing issues

* changed class to interface and added algorithms interface

* removed module declaration

* fixed github url header to https
2018-10-18 16:02:27 -07:00
Andy e5996bd17a boom: Remove unused dependency on hapi (#29859) 2018-10-18 13:00:09 -07:00
jlismore d608967260 Add types for react-tag-autocomplete pkg (#29856)
* Types for react-tag-autocomplete pkg

* Add TS version to declarion file
Fix test errors
2018-10-18 12:45:04 -07:00
Steven Bell e409eb2907 Add type definitions for the i18n-abide package. (#29855)
* Add type definitions for the i18n-abide library.

* Fix test and tsconfig.
2018-10-18 12:21:01 -07:00