Commit Graph
57967 Commits
Author SHA1 Message Date
Brian Schiller 1c8707a34a puppeteer: safer args for page.eval and friends
page.evaluate and similar functions are currently typed as if
they accept 'any' args, but they will throw exceptions unless
the args are either Serializable (with JSON.stringify) or JSHandles.

In GoogleChrome/puppeteer#3591, @SimonSchick recommended that tighter
type definitions was a preferable way to address this rather than
runtime error checking.

I've been using these updated types in my project for the last couple of
months without problem.

I suspect that some of the X1, X2 type parameters should also
be changed to reflect that they can only be SerializableOrJSHandle,
but I wasn't sure how to change the existing UnwrapElementHandle<X1>
types.
2019-01-25 11:03:55 -07:00
Benjamin Lichtman 713db61de6 Merge pull request #32488 from tngranados/react-native-platform-touchable
Add types for react-native-platform-touchable
2019-01-25 09:55:30 -08:00
Benjamin Lichtman fe9a6fc86a Merge pull request #32478 from adripanico/master
@types/hls.js : Fixing definition of Level interface
2019-01-25 09:52:42 -08:00
Benjamin Lichtman 6d4632bfb8 Merge pull request #32423 from aldafu/fix-shelljs-cp-return-type
Fix void type for shelljs package, functions return value to ShellArray
2019-01-25 09:52:00 -08:00
Benjamin Lichtman 0d55e1a61d Merge pull request #32469 from karak/sinon-third-arg
[sinon] Added the third argument to sinon.spy()
2019-01-25 09:50:18 -08:00
katsanva c9aa3d0143 Fixed dtslint 2019-01-25 21:48:26 +04:00
Benjamin Lichtman f3a5d5e317 Merge pull request #32475 from Tom-Dynamsoft/master
<@types/dwt> Updated the structure of the definitions to reflect the changes in the new version. Added definitions for new APIs introduced in the new version mainly from the addons
2019-01-25 09:45:13 -08:00
Benjamin Lichtman c71d008934 Merge pull request #32482 from dolezel/react-sortable-tree
[react-sortable-tree] Fixed option name
2019-01-25 09:41:40 -08:00
Benjamin Lichtman 05f2be31e5 Merge pull request #32483 from SPWizard01/master
[react-paginate] add missing breakLinkClassName property
2019-01-25 09:39:51 -08:00
katsanva da28a84b5e Revert back to original 2019-01-25 21:39:01 +04:00
Xiao 64ba3f963d Create tsconfig.json 2019-01-25 11:32:59 -06:00
Xiao 010fd4edd0 Update index.d.ts 2019-01-25 11:32:12 -06:00
Xiao 8780fc2e7b Create drivelist-test.d.ts 2019-01-25 11:31:19 -06:00
Xiao 7e16b6839b Create tslint.json 2019-01-25 11:26:50 -06:00
Vincent Langlet faa5f11108 Add types 2019-01-25 18:18:01 +01:00
Xiao 7951184347 Delete package.json 2019-01-25 11:15:21 -06:00
Oskar Lindgren 207bb59128 remove webdriverio. Bundles their own types since 5.0.0 2019-01-26 02:04:42 +09:00
Flexmonster Pivot Table 9ce6298e63 flexmonster d.ts added
tslint comments applied
2019-01-25 19:03:18 +02:00
Benjamin Lichtman 65309381bd Merge pull request #32472 from eoin-obrien/parse-numeric-range
[parse-numeric-range] Add types
2019-01-25 08:52:17 -08:00
Benjamin Lichtman 84eeab8dae Merge pull request #32473 from eoin-obrien/xmlserializer
[xmlserializer] Add types
2019-01-25 08:51:37 -08:00
Benjamin Lichtman 831cce3b0a Merge pull request #32421 from zifahm/master
Gestalt updated icon combinations
2019-01-25 08:50:14 -08:00
Toni Granados 0cf6eb14dc Add types for react-native-platform-touchable 2019-01-25 17:49:51 +01:00
Benjamin Lichtman 81e2627cbd Merge pull request #32334 from asiderius/openlayers-drawoptions-stopclick
Openlayers: Add stopClick to DrawOptions
2019-01-25 08:42:23 -08:00
Benjamin Lichtman 50623e5a9b Merge pull request #32284 from MechJosh0/patch-1
Added `set` method to available types for `dot-object` package
2019-01-25 08:41:26 -08:00
Benjamin Lichtman 9baba5a562 Merge pull request #32195 from ew73/patch-1
nconf - Add support for encrypted/secure file contents in .file()
2019-01-25 08:40:04 -08:00
Benjamin Lichtman 2930acb29b Merge pull request #32236 from ryprice/amplitude-js-exports
export amplitude type because amplitude-js is a UMD module
2019-01-25 08:38:42 -08:00
Benjamin Lichtman bcebd0cabf Merge pull request #32435 from vldk/master
Update index.d.ts for tween.js version 17.2.0
2019-01-25 08:35:55 -08:00
Ivan Motiienko b4cde2a928 Add default exports to the non-published definition files 2019-01-25 20:22:32 +04:00
Flexmonster Pivot Table a207567303 flexmonster d.ts added 2019-01-25 18:11:26 +02:00
dominic.griesel 531c348543 Add async versions of [un]subscribe[Foreign]States 2019-01-25 16:31:46 +01:00
Adrián Caballero fc1d8ea390 Applying comments on PR 32478 2019-01-25 16:23:37 +01:00
s.maliauka 2c41a9f8f2 lory.js: update to match lory.js 2.5.3 API 2019-01-25 18:21:11 +03:00
SPWizard01 b363c7e18f remove trailing whitespaces 2019-01-25 16:40:39 +02:00
SPWizard01 c5b8e3b5cd travis failing 2019-01-25 16:32:21 +02:00
SPWizard01 fcc885dceb bump version number to 6.2.1 2019-01-25 16:19:56 +02:00
SPWizard01 45c2c4b160 update test file for react-paginate types 2019-01-25 16:15:32 +02:00
SPWizard01 e03d6bfc8e add breakLinkClassName property 2019-01-25 16:06:27 +02:00
Jan Dolezel 77f39b0c33 Fixed option name 2019-01-25 15:05:45 +01:00
Alexander Futász 392f6235e5 Use more detailed return annotation 2019-01-25 15:05:41 +01:00
Danilo Bürger f015edd8d6 [react-native-fbsdk] Added AppEventsLogger.setUserID 2019-01-25 13:00:29 +01:00
Lee Henson f2d7483269 [http-aws-es] update ConfigOptions to support awsConfig key 2019-01-25 11:48:10 +00:00
asiderius da7186e979 Adding stopClick to ol.interaction.Draw constructors in the tests 2019-01-25 12:17:33 +01:00
asiderius ac1898ff02 Adding stopClick to DrawOptions 2019-01-25 12:16:37 +01:00
Josh 9f4e7a9f61 Update index.d.ts 2019-01-25 10:37:45 +00:00
Josh 72ccd484bc Update index.d.ts 2019-01-25 10:26:26 +00:00
Adrián Caballero 4e4892ccd7 @types/hls.js : Fixing definition of Level interface 2019-01-25 11:20:39 +01:00
Dimitri Benin ac3723c88c [README] improve FAQ section on module interop schemes 2019-01-25 10:54:26 +01:00
Hinaser f486782118 [uuidv4] Add types 2019-01-25 18:48:31 +09:00
Florian Keller 112e4216d7 fix(copy): Add JSDoc, use File 2019-01-25 10:20:44 +01:00
Vincent Langlet e92ff96b54 Add tests 2019-01-25 10:18:29 +01:00