Commit Graph

67002 Commits

Author SHA1 Message Date
Max Boguslavsky
a151389bac Fixed requestidlecallback typing to work with global typing (#39322)
* reworked type definition so it will work with global space; used DOMHighResTimeStamp from dom library

* corrected index header
2019-10-22 10:52:21 -07:00
chivesrs
3494143fab [angular-material] Create types for mdMenuCtrl (#38280)
* Add (partial) types for mdMenu controller

* Use multiline format for authors (for readability)

* Add self to authors list
2019-10-22 08:37:20 -07:00
Kyle Roach
100ea86338 feat: Remove types for react-navigation-material-bottom-tabs (#39299)
Package now ships its own types.
2019-10-22 15:32:21 +02:00
Shi Yan
855f629b5c [@types/webpack] Fix ToJsonOutput (#39100)
* Fix ToJsonOutput

* Fix ToJsonOutput

* Fix ToJsonOutput
2019-10-21 19:21:29 +01:00
Eloy Durán
b5210edf39 [relay-runtime] Update fragment reference definitions (#39231)
As of TS 3.6 an intersection of multiple unique symbols results in
`never`, which means our fragment reference checking is now unsafe.
2019-10-21 18:45:00 +02:00
Andrew Starovoyt
4a4375a3ac Add support for node 12.2 module.createRequire(filename) method (#39209)
* Add support for module.createRequire(filename) method and deprecated createRequireFromPath().

Use NodeRequireFunction as return type for createRequireFromPath and createRequire

* update version

* add url parameter

* remove url parameter
2019-10-21 09:02:17 -07:00
Daniel Cassidy
b0503ac105 webpack: Add type definitions for logging API (#39083)
* webpack: Add type definitions for logging API

* webpack: Fix compile and lint errors.

* webpack: Add tests for logging API.
2019-10-19 09:03:30 +01:00
Christopher Eck
60c7387672 [passport-saml] Add missing config options (#39224) 2019-10-18 16:02:06 -07:00
Robert Hurst
2413e7242f Fix typo for Swiper#clickedIndex (#39241) 2019-10-18 15:53:53 -07:00
Dr-NULL
820bd4d5e9 Add a missing property (#39233)
Add a parameter called "decimal" into the LanguageSettings interface. Using this documentation as backup:
https://datatables.net/examples/basic_init/comma-decimal.html
2019-10-18 15:53:02 -07:00
Pleun Vanderbauwhede
d0bcf9e804 Add null as valid value for bodyOpenClassName, htmlOpenClassName & role. (#39204) 2019-10-18 15:44:19 -07:00
Caleb Clarke
6b4b44df8e Updated Cavy types for 3.1 (#39222)
* Updated Cavy types for 3.1

Added Tester properties:
- store (and corresponding TestHookStore type)
- startDelay
- clearAsyncStorage
- reporter (and corresponding TestResult/TestReport types)

Made waitTime optional

Added containsTest to TestScope

* Remove trailing whitespace and use ReadonlyArray
2019-10-18 15:40:07 -07:00
thejavascriptman
c35210fe19 add missing field to mongoose document (#39226) 2019-10-18 15:38:35 -07:00
Eliot Ball
ed4c578fb0 [recharts] Add label field to ReferenceDot (#39208)
* Add label field to ReferenceDot

* Update index.d.ts
2019-10-18 15:37:50 -07:00
Simon Hänisch
1a032b3f24 fix: enums for googlemaps (#39211)
* fix: enums for googlemaps

* remove deprecated control positions

* fix values and ordering of numeric enums
2019-10-18 15:36:47 -07:00
Dylan Vann
674d84d48a [@types/react-redux] add types for hook factories (#39216)
* [@types/react-redux] add types for hook factories

* [@types/react-redux] add test of createSelectorHook+TypedUseSelectorHook
2019-10-18 15:34:59 -07:00
mymindstorm
1d892c020d Update argon2-browser types (#39225) 2019-10-18 15:32:37 -07:00
Sumit Parakh
21c7a937ce Added type definitions for react-image-magnify (#38516)
* Updated types for react-image-magnify

* Fixed CI issues
2019-10-18 14:45:00 -07:00
Tom McLaughlin
8f4f72e4a5 Make CodeMirror.Editor extend CodeMirror.Doc (#39195)
* Make CodeMirror.Editor extend CodeMirror.Doc
Per the documentation at https://codemirror.net/doc/manual.html#api
Methods prefixed with doc. can, unless otherwise specified, be called
both on CodeMirror (editor) instances and CodeMirror.Doc instances.

* Add comment and test
2019-10-18 14:40:20 -07:00
TypeScript Bot
4f0f69b54a Update CODEOWNERS (#39239) 2019-10-18 09:31:59 -07:00
Piotr Okoński
18653eae1a [countries-and-timezones] Add typings for v2.0 (#39052)
* [countries-and-timezones] Add typings for v2.0

* Fix path mapping

* Fix copy pasta mistake

* Remove v1 typings
2019-10-18 08:50:59 -07:00
Maciek Stasiełuk
221b638fa2 Add types for camunda-external-task-client-js (#39128)
* Add typings for camunda-external-task-client-js

* Apply PR remarks

* Refactor to top-level declarations
2019-10-17 15:39:58 -07:00
Tony Ross
922e092f5e Add types for JSX extensions to ESTree AST (#39215)
Declare JSX types and export a modified `Node` type containing
the union of `Node` from `@types/estree` plus JSX node types.

Like `@types/estree` this is a types-only package to aid consuming
ASTs created by various JavaScript parsers used in tooling.
2019-10-17 15:33:41 -07:00
折腾笔记
2931563962 update types for uni-app (#39075)
* fix: getStoragetSync return value is incorrect.

* fix: The type of return value type of Storage is incorrect

* added parameter for GetStorageOptions.success

* added value parameter for setStorageSync

* fix setStorageSync with value: any

* update types for uni-app

* add class EditorContext for uni-app types

* fix lint for uni-app

* remove *.vue module for uni-app

* update types for uni-app

* update types for uni-app

* update types for uni-app

* update types for uni-app

* update types for uni-app

* update types for uni-app

* update types for uni-app

* update types for uni-app:fix boundingClientRect

* update types for uni-app: add onKeyboardHeightChange

* update types for uni-app: uni.checkSession

* update types for uni-app fixed uni.createMapContext

* update types for uni-app : add GetSystemInfoResult.safeArea

* update types for uni-app : uni.getSystemInfoSync

* update types for uni-app
2019-10-17 15:04:48 -07:00
Jules Sam. Randolph
dca759d8d8 Add typings for proper-url-join (#39197) 2019-10-17 14:58:21 -07:00
ExE Boss
439a7d5bc1 feat: Add es‑to‑primitive (#38947)
* feat: Add `es‑to‑primitive`

* chore(es‑to‑primitive): Fix `tsconfig.json`

* fix(es‑to‑primitive): Add missing primitive types

* fix(es‑to‑primitive): Use `unknown` in TypeScript ≥ 3.1

Co-Authored-By: Jordan Harband <ljharb@gmail.com>

* chore(es‑to‑primitive): Copy `tslint.json` to sub‑directories

* refactor(es‑to‑primitive): Apply Prettier formatting to `package.json`

* chore(es‑to‑primitive): Trigger build
2019-10-17 14:30:30 -07:00
Vít Rozsíval
a7076f988e Fix naja global variable and allow async listeners (#39214)
* Add types for naja

* Follow PR rules

* Change interface name

* Extend EventTarget

* Include all event types in map

* Improve events typing

* Add naja options interface

* Make options readonly

* Add more accurate typings

* Update signatures

* Update global variable name and allow async listeners

* Move namespace export
2019-10-17 14:26:07 -07:00
Alex Jerabek
15427d3ec8 Updating with Excel preview info (#39194) 2019-10-17 14:24:44 -07:00
Tom Kent
b082e088a2 Fixed a few incorrect definitions and added a few missing ones (#39166)
* 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

* change to v15

* add enums

* remove enums

* Updating to v15.0.2

* roll back to 1 previous version

* add back v15 APIs

* fix errors

* fix errors attempt 2

* update to 15.1

* upgrade to v15.2
add tag image

* fixed a few bugs

* fix grammar errors
2019-10-17 14:24:04 -07:00
Josh Goldberg
e7f4d0d913 Made create-react-class S(tate) template optional (#39154)
* create-react-class: default state to {}

It's irksome having to always provide a `{}`...

* Added props-without-state test

* Added props declaration to CCC
2019-10-17 14:22:52 -07:00
alesn
fb23b1ef93 Typed observe() and observeChanges() to the type of documents observed (#39125)
(cherry picked from commit 8bcb41f7379422301e0a43a600195c3d52846b0e)
2019-10-17 14:21:27 -07:00
fent
3817461fd8 Update typings for track_forms and track_links on mixpanel package (#39192)
* Fix types for `track_forms` and `track_links`

* semi

* update this other mixpanel package too

* fix lint warnings
2019-10-17 14:20:43 -07:00
Kyle Scully
ae3bc97607 fix(newrelic): make noticeError customAttributes signature wider (#39196)
* fix(newrelic): make noticeError customAttributes signature wider

* chore: apply suggestions from code review

Co-Authored-By: Matt R. Wilson <github@mattw.co>
2019-10-17 14:17:33 -07:00
johnbradleywood
0af9b0518b Changed RendererOptions to match Leaflet docs (#39145) 2019-10-17 14:16:48 -07:00
Loc Bui
ca74d25cf6 Reformat source code and fix Live query subscription (#39077)
* Reformat code style.

* Fix live query subscription.
2019-10-17 14:15:50 -07:00
Batuhan Wilhelm
40f4a764f3 Add missing client id to Auth Response (#39200) 2019-10-17 14:14:37 -07:00
jaimepineiro
41355008e3 [@types/mapbox__geojson-area] Add method ringArea (#39207)
* Added method ring

* Added method ring
2019-10-17 14:13:09 -07:00
rskrz
8f94a1423f Create typings for honeybadger module (#39152)
* Created typings for honeybadger module

* slight improvements to typings, tslint now has no extra rules.

* Update index.d.ts

* Update index.d.ts
2019-10-17 14:01:45 -07:00
Nathan Shively-Sanders
0c600dcb5b Update express-session-tests to match express-serve-static-core (#39213)
CI didn't encounter the error in #39025 for some reason.
2019-10-17 09:40:11 -07:00
Derek Yu
6ec670c7d0 plotly.js: Add customdata field to PlotData and Margin padding (#39067) 2019-10-16 16:03:38 -07:00
Marco Beltempo
13db742b5b Add typings for @onfleet/node-onfleet package (#39130)
* Generated template files

* Added type definition for Worker resource

* Added type definition for Webhook resource

* Added type definition for Destination resource

* Added type definition for Recipient resource

* Added type definition for Task resource

* Added type definition for API helper

* Added type definition for HttpError helper

* Added type definition for metadata helper

* Added type definition for main Onfleet class

* Added index export for resources and helpers

* Added type definition for Admin resource

* Added type definition for Hub resource

* Added type definition for Organization resource

* Added type definition for Teams resource

* Added definition for Container resource

* Fixed insertTask definition

* Lint fixes:
-sorted class members ASC
-consistent interface naming

* Set Typescript version to 3.5

* Lint fixes:
- export all module declarations
- combined overload methods with optional params

* Renamed `Admin` module to `Administrator`

* Added tests

* Convert ES2015 modules to CommonJS modules

* Renamed resource files
to match package naming convention

* Removed unnecessary API type

* Removed resource index file

* Lint fixes: prefer single quotes

* Use require for module imports

* Set Typescript version to 3.5

* Fixed  test module import

* Renamed import paths `Resources` to `resources`

* Deleted unused error module
2019-10-16 16:01:32 -07:00
Max Boguslavsky
d067c52e79 Added type for @webpack-blocks/core (#39006)
* created draft for @types/webpack-blocks__core

* corrected formatting

* added tests to typing

* corrected formatting; fixed import

* - implemented definitions for webpack-blocks package.

* - implemented definitions for webpack-blocks package.

* - corrected formatting for import/export in main package.

* - corrected formatting tests for assets.

* - added declarations for @webpack-blocks/babel plugin.

* - updated tests for babel.

* - updated tests for babel subpackage.

* - implemented dev-server type

* - updated description for babel.

* - corrected formatting.

* - implemented definition for webpack-blocks/extract-text package.

* - corrected formatting

* - implemented webpack module for webpack-blocks

* - proxied more methods.

* - corrected formatting.

* - implemented definitions for @webpack-blocks/postcss package.

* - corrected formatting.

* - corrected type description.

* - implemented definition for @webpack-blocks/sass package.

* - corrected formatting.

* - implemented draft definitions for webpack-blocks/typescript package.

* - implemented draft definitions for webpack-blocks/uglify package.

* - updated interface for typescript;
- corrected name and formatting for tests.

* - corrected name for tests.

* - corrected link to package;
- corrected formatting;
- removed redundant module.exports from test.

* - corrected typings for @webpack-blocks/uglify.

* - corrected namings.

* - corrected import and version.

* - corrected import and version.

* - corrected import and version.

* - simplified type.

* - corrected imports.
2019-10-16 15:14:41 -07:00
Alex Jerabek
5c4192c3b2 Clarifying Worksheet.copy behavior (#39189) 2019-10-16 14:59:54 -07:00
Alex
6214765f1f Add typings for NestDB (#39063)
* Add typings for NestDB

Based on the existing NeDB typings, since NestDB is a fork.

* Update index.d.ts

* Update nestdb-tests.ts
2019-10-16 14:59:28 -07:00
Gonzalo D'Elia
48e32a92e7 Upgraded types to latest version: Added id field for Bar, Line, Scatter, Area and properties gap and leaveTimeOut in Brush (#38680) 2019-10-16 14:54:37 -07:00
ExE Boss
9294a66f12 feat: Add define‑properties (#39058)
* feat: Add `define‑properties`

* fix(define‑properties): Correct definition authors
2019-10-16 14:06:55 -07:00
ExE Boss
192a1b5b5b feat: Add array.from (#39055)
* feat: Add `array.from`

* docs(array.from): Add TSDoc comments

* docs(array.from): Improve TSDoc
2019-10-16 14:06:06 -07:00
Junxiao Shi
a66be93748 hirestime: initial definition (#39159) 2019-10-16 13:56:53 -07:00
Forzoom
f4d8af8660 add growing-io (#39163)
* feat: add growing-io

* fix: for non-npm package
2019-10-16 13:54:07 -07:00
Laszlo Pandy
5c97ace92d Nullable event listeners for MediaRecorder (#39144)
Allow setting event listeners to null when using strictNullChecks
2019-10-16 13:34:15 -07:00