Commit Graph
66055 Commits
Author SHA1 Message Date
inglec-arista ff77e86e11 fast-text-encoding: Fix global name collisions (#40630)
Global var definitions for TextDecoder and TextEncoder collide with the
globals defined by "lib.dom.d.ts". Ideally we would be able to
conditionally define TextDecoder and TextEncoder if they are not
already defined in the current context. Since we cannot do conditional
definitions in an ambient context, we export these types so the user
can do this themselves (see tests).

- Move global type definitions to namespace to prevent collisions with
  "lib.dom.d.ts" TextDecoder and TextEncoder.
- Update name of namespace from "fastTextEncoder" to "fastTextEncoding"
  to match package name.
- Update tests to manually define global vars TextDecoder and
  TextEncoder.
2019-11-26 14:30:35 -08:00
Erik Burton 1f7634ec0d javascript-time-ago type definitions (#40618)
* Adding tsconfig and tslint

* Adding main interface type definitions

* Adding tests

* Updating tsconfig

* Adding locale type definitions

* Fix config

* Fix linting

* Updating tsconfig to use files property

* Updating typescript version

* Header fix

* Trimming newlines for dtslint

* Potential CI Fix

* Removing strict flag from tsconfig

* Shuffling types for less duplication

* Adding newline for linting
2019-11-26 14:30:25 -08:00
Nathan Shively-Sanders 7926ae9ff5 Update new package instructions (#40677)
1. Only index.d.ts is allowed in files list; all other d.ts files should be
referenced from it.
2. Unreferenced files that nonetheless need to ship can be added to
OTHER_FILES.txt
2019-11-26 12:48:58 -08:00
Nathan Shively-Sanders c8089e91d1 Trim tsconfig files; move untested files to OTHER_FILES.txt (#40676)
* Initial cut

* fix aos global reference

* fix clearbladejs global references

* fix cldr.js augmentations

* fix codemirror compile errors (maybe)

* fixup skipped files after merge

* fix dwt/v13

* add missing references to adone

* fix meteor (manually)

* fix rangy

* add missing file reference to react-blessed

* fix react-dom?

* bump codemirror to 3.2

* bump dwt to 3.2

* Add/remove OTHER_FILES.txt as needed.

* bump react-codemirror to 3.2

* add references to slickgrid tests

* add reference to strophe.js tests

* add reference to strophe+fix types

* add reference to waypoints test

* Bump others to 3.9

* remove incorrectly added file

* Use more explicit types reference paths

* bump strophejs-plugin-roster TS version
2019-11-26 12:47:30 -08:00
Nathan Shively-Sanders 6323ec4f01 react-dom tests: Add missing import of 'experimental' (#40669) 2019-11-26 09:56:02 -08:00
Nathan Shively-Sanders e2690999da react-blessed: add missing reference (#40668)
The file, confusingly, is called react.d.ts, but isn't @types/react.
2019-11-26 09:04:45 -08:00
Nathan Shively-Sanders 275ab65da8 meteor: inline test module augmentations (#40667)
This makes the test file structure more similar to other DT tests.
2019-11-26 09:00:35 -08:00
Nathan Shively-Sanders c69f7bc333 clearbladejs: inline global files (#40665) 2019-11-26 08:55:18 -08:00
Nathan Shively-Sanders f2bb28cbd8 cldrjs: make directory structure match source (#40664)
Move supplemental files into cldr/ subdirectory.

Also make the test reference supplemental instead of relying on it being
in the global namespace.
2019-11-26 08:48:55 -08:00
Nathan Shively-Sanders 8502cfd704 aos: Inline global interface merge (#40663) 2019-11-26 08:44:22 -08:00
Nathan Shively-Sanders fca19b9388 Add missing references to adone.d.ts (#40662)
It relies on async.d.ts and benchmark.d.ts, but forgets to reference
them.
2019-11-26 08:34:32 -08:00
Dmitry Demensky f460f9a287 Refresh README.ru.md (#40614)
* Reformat with prettier

* Add "Chinese" link

* Remove markdownlint-disable

* Add section "Текущее состояние"

* Move section "Что такое файлы декларации..." under section "Текущее состояние"

* Move section "Как их получить?" under section "Что такое файлы декларации…"

* Synchronize section "Как их получить?"

* Add section "Проверка"

* Rename section "Lint" to "Linter"

* Add section "Содержание"

* Fix link

* Update http links to https
2019-11-25 18:30:43 -08:00
Denis Slávik 0a6d31eb0a Added missing subText (#40486)
`onNotification` method returns `subText` value as well, if present in `localNotificationSchedule` method.
2019-11-25 17:32:05 -08:00
Jonathan c7dc74d7c2 Added perPage property on Siema (#40451)
* Added perPage property

Siema makes the property perPage available, and it is useful to be able to read it, so I'm adding it to the type definition.

* added test

* added myself as contributor

* fixed tests
2019-11-25 17:22:02 -08:00
Ilia Baryshnikov b366d203b6 NodeJS child_process signals to be Signals (#40560)
* NodeJS child_process signals to be Signals

* allow number as kill signal where acceptable
2019-11-25 14:26:42 -08:00
Valérian Rousset df2703fdab ws: constructor supports URL (#40594) 2019-11-25 14:24:28 -08:00
Ifiok Jr 62c6c21c6c stripe - remove name from contributors (#40623)
Remove name from contributors list to prevent messages from being sent
through.
2019-11-25 14:20:45 -08:00
Louay Alakkad 126d2f3a13 Remove named exports from validator index file (#40491)
* Remove named exports from validator index file

There are no named exports in the validator package as you can see from the source code here
https://github.com/validatorjs/validator.js/blob/b5a1d1f/src/index.js

* Fix my name

* Remove actual imports from `convict-tests`

* Update uses of validator types (in tests & sequelize definitions)

* Remove accidental file

* Fix errors

* Fix lib files

* Prettier

* Switch to namespace for simplicity

* Fix missed imports in lib

* Dummy change to trigger CI

* Revert import changes to convict-tests
2019-11-25 14:02:36 -08:00
dsueltenfuss d6204d55a4 Correct comment in node/crypto definition (#40587)
* Added missing type

* Updated package header

* Replaced tabs with spaces

* Correcting a comment

Correcting a comment to refer to the correct function
2019-11-25 13:45:49 -08:00
kmahlqvist 8b1a462323 Add missing extensions (#40633)
Adds missing extension for RemoteTrackStats according to docs https://media.twiliocdn.com/sdk/js/video/releases/2.0.0-beta15/docs/RemoteTrackStats.html
2019-11-25 13:36:13 -08:00
Mike Deverell 540e91c2e5 [ramda] Improve tests for 'add' (#40605)
* add  comments on existing tests

* add tests for 'add' parameter types

* remove test that adds no value :rimshot:
2019-11-25 13:32:26 -08:00
Corbin Crutchley 493128ea2d [summernote] Update various aspects of typings (#40622)
* Update various aspects of the Summernote typings

* Remove un-needed comma
2019-11-25 13:29:08 -08:00
Rhys Lloyd 1c1fd46261 [@types/react-adal] getCachedToken and getCachedUser can return null (#40516) 2019-11-25 11:30:09 -08:00
Ryan Stallings 590362a073 libxmljs: add missing parserOption (#40599)
libxmljs: Added missing parser option for baseUrl (used by parseXml and parseHtml).
2019-11-25 11:26:30 -08:00
Danilo Bürger fc884bef09 [react-router-dom] Export missing RouteChildrenProps from react-router (#40502) 2019-11-25 11:23:37 -08:00
Alan Song 217342f579 Replace object with Record<string, string> for parameter fields (#40621) 2019-11-25 11:22:12 -08:00
Johan Lindskogen d50b729ceb react-query: Fix spelling error (#40611) 2019-11-25 11:13:06 -08:00
Neel Bhasin 7c51d165c7 React native material textfield - Updated missing Types (#40628)
* updated types for renderRightAccessory and renderLeftAccessory

* Refactored and updated missing types

* Reverted clearTextOnFocus deleted by mistake

* Updated lineType and disabledLineType types
2019-11-25 11:12:03 -08:00
Ifedapo .A. Olarewaju 4caef8b719 [tus-js-client] Align definitions with v1.8 (#40629)
* update tus-js-client definition to match 1.8

* Update tus-js-client test

* [tus-js-client]: remove trailing whitespace

* [tus-js-client]: fix test on upload.abort method
2019-11-25 11:04:29 -08:00
Jojoshua 19cc557a07 tabulator-tables 4.5 (#40620)
* tabulator 4.5 updates

* fix comment style
2019-11-25 10:36:26 -08:00
Andrew Walton ca1d51aa09 Update th and td attributes to include abbr (#40464)
Both `th` and `td` attributes accept the attribute `abbr`, which is meant to be an abbreviated description of the cell's content, mostly for screen readers.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
2019-11-23 19:32:06 +00:00
Rifa Achrinza 3b6c5e9484 feat(ibm-openapi-validator): added initial typings (#40566)
* feat(ibm-openapi-validator): added initial typings

Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>

* fixed commonjs export

Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2019-11-22 18:14:51 -08:00
Antonis Balasas 838300d3ad Added definitions for protoo-server (#40533)
* Added definitions for protoo-server

* Converted class to interface for Peer & WebSocketTransport

* Added public properties & methods for WebSocketTransport interface
2019-11-22 18:13:42 -08:00
Aseel Al Dallal 6a0e467f4a Stripe: Add Typing for Topups (#40602)
* tax rates was missing

* contributer

* create topup

* create topup

* retreive, update, list

* cancel

* create test

* bug fix through test

* done

* lint

* add nulls
2019-11-22 18:07:27 -08:00
Christian Rackerseder 8d57d313be Create type definitions for hls-parser (#40600) 2019-11-22 18:06:23 -08:00
Jon Surrell db30eb1819 Add hideLabelFromVision to BaseControl Props (#40572) 2019-11-22 17:57:38 -08:00
Tyler Murphy af4baa1d06 Adds the HTTP server response method writeProcessing for node. (#40598) 2019-11-22 16:52:04 -08:00
TypeScript Bot e2f62377ba Update CODEOWNERS (#40596) 2019-11-22 10:56:59 -08:00
inglec-arista 138d4e6c93 fast-text-encoding: Add v1 types (#40564) 2019-11-22 10:54:34 -08:00
Grzegorz Judas 9fec3bbf15 [jws] Allow JOSE header parameter types other than string, as defined in RFC (#40561)
* Allow JWS headers to be string[], number or undefined

* Use readonly array for JWS header string[]

* Specify RFC-registered header parameters

* Fix lint

* Use readonly arrays

* Switch to using interfaces

* Fix lint
2019-11-22 10:00:02 -08:00
Dmitry Demensky 4278078254 Add types for zfont (#40577) 2019-11-22 09:58:22 -08:00
Pascal Corpet d1dbf5e3bc [react-share] Add extra props implemented in the code but not visible in the documentation. (#40480) 2019-11-22 09:34:38 -08:00
Michaël De Boey 2b1d206cc1 Delete @storybook/react (#40475)
* Delete @storybook/react

* Delete storybook__react paths from tsconfig

* Add esModuleInterop: true to tsconfig

* Fix errors

* Fix errors

* Fix errors

* Fix errors

* Fix errors

* Fix errors

* Fix errors

* Use @storybook/addons where appropriate

* Fix IStorybookStory import

* Prettify types

* Fix errors

* Fix errors

* Fix errors

* Fix errors

* Fix errors

* Fix errors
2019-11-22 09:19:31 -08:00
Sebastian Silbermann a7318d23b1 feat(css-mediaquery): Add types (#40586)
* feat(css-mediaquery): Add types

* chore: Fix gh profile link
2019-11-22 09:09:14 -08:00
Dan Vanderkam 8432bc2f1a Add typings for react-lazy-load-image-component (#40565)
* Add typings for react-lazy-load-image-component

* Add a package.json

* require TypeScript 3.5

* fix lint issue

* One more author
2019-11-22 09:02:19 -08:00
ExE Boss 6c73b9964e feat(mz): Update to v2.7 (#39277)
* feat(mz): Update to v2.7

* fix(mz): Keep support for TypeScript 2.0

* fix(mz): Add myself to the contributors list

* test(mz): Refactor tests to remove override in `.editorconfig`

* chore(mz): Remove `.editorconfig` 😡️

* fix(mz): Fix name of `dest` parameter in `fs.copyFile(…)`

* refactor(mz): Remove need for setting `"unified‑signatures": false`
2019-11-22 08:46:01 -08:00
Teodor Tanasoaia 6a2c72f79b [fontkit] add definitions (#40527)
* add fontkit declaration file

* add tslint

* add tsconfig

* fix linting issues

* add dom lib

* add test file

* include test file

* fix test file

* fix linting issues

* add default export

* fix export

* use a module

* new way of exporting

* fix linting issues
2019-11-22 08:43:50 -08:00
Jonghun Yu a66bf707ff added type definitions for geodesy v2 (#40551) 2019-11-22 08:42:02 -08:00
Dmitry Demensky f9c2fefc56 Reformat with prettier (#40590) 2019-11-22 08:40:36 -08:00
Janne Ramstedt deda1ffe67 Box extends Convex (#40574) 2019-11-22 08:39:31 -08:00