Commit Graph

68157 Commits

Author SHA1 Message Date
Sridhar Mallela
83fd63a9bb
Update definitions for @types/istanbul-lib-source-maps (#43339)
* Updated type definitions for istanbul source maps version 4.x, as transform method now returns only coverage map

* fix: Prettier configuration to run to approve linting
2020-03-31 15:10:33 -07:00
Eyas
3e97df05b2
Fix typings in @reach/router to include innerRef (#43367)
* Fix typings in @reach/router to include innerRef

https://reach.tech/router/api/Link

> ## innerRef: func
> Calls up with its inner ref for apps on React <16.4.
> If using React >=16.4, use ref instead.
>
> ```
> <Link to="./" innerRef={node => /* ... */} />
> ```

* Add Eyas as contributor for reach__router.
2020-03-31 15:07:49 -07:00
Mustafa Salaheldin
14a87ce1de
bootstrap-filestyle (#43509)
* udating index.d.ts

adding unconsolidate() method to Model class

* updating index.d.ts

* adding selector

added selector: JQuery; to support jquer backward compatability.

* adding bootstrap-filestylle

adding bootstrap-filestylle

* adding comments

adding comments

* update tslint

update tslint

* adding version

adding 1.2.1 to version

* unifi signature

unifi signature

* update version

update version

* Update index.d.ts

* bootstrap-multiselect

bootstrap-multiselect

* Update tsconfig.json

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2020-03-31 14:49:21 -07:00
horsenit
2892d81ccb
[css-font-loading-module] Make FontFaceSet extend EventTarget and add FontFaceSetLoadEvent (#43396) 2020-03-31 14:47:56 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
480921ca85
feat(bootstrap-fileinput): add missing instance methods (#43312)
- missing methods added
- tests added to package
- TS details updated to match current DT recommendations
- formatting with DT prettier settings

https://plugins.krajee.com/file-input/plugin-methods

/cc @aliemre1990

Thanks!

Fixes: #43288
2020-03-31 14:45:44 -07:00
David Hearnden
0506ca2fe8
fix(rsocket-flowable): makes Flowable.error() and Flowable.never() return Flowable<never> (#43318) 2020-03-31 14:44:15 -07:00
Michaël De Boey
c1c7683e9b
[ot] Update ot types (#43430) 2020-03-31 14:43:42 -07:00
Jack Bates
2e3f31ba3f
[redux-ui] Enable noImplicitThis (#42946) 2020-03-31 14:42:41 -07:00
Jack Bates
903998eee9
[revalidator] Enable noImplicitThis (#42947) 2020-03-31 14:41:40 -07:00
Boris Serdiuk
d9fd463e5c
allow rendering into document fragment (#43399) 2020-03-31 14:29:14 -07:00
jeffrson
aedb5e5073
Fix subsystem event listener (#43397)
This fixes a bug introduced by commit 2e019e5347 - some subsystems return a channel/stream via accept().
2020-03-31 14:28:29 -07:00
Andre Fonseca
fece3c6827
format definitions and test file (#43443) 2020-03-31 14:27:27 -07:00
Aarni Koskela
5d691af616
react-textarea-autocomplete: Allow all textarea attributes (#43492) 2020-03-31 14:26:22 -07:00
Tomasz Pluskiewicz
2bcc698e2d
update sparql-http-client to v2.2 (#43529)
* wip: sparql-http-client 2.0

* update to sparql-http-client 2.2
2020-03-31 14:24:51 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
8b25cefffb
feat(@open-wc/webpack-import-meta-loader) new type definition (#43406)
- definition file
- tests

https://github.com/open-wc/open-wc/tree/master/packages/webpack-import-meta-loader#webpack-helpers

Thanks!
2020-03-31 13:09:02 -07:00
Ansuman Ghosh
898b20d7f7
Added typings for npm package 'pdf-viewer-reactjs' (#43412) 2020-03-31 13:08:04 -07:00
Matthew Leffler
68217d01ac
Update vimeo types to match current module (#43278)
* Update vimeo types to match current module

* Make request query and headers optional

* Directly export contained members
2020-03-31 13:01:50 -07:00
Patrick Erichsen
41a7d74472
Add sawtooth-sdk (#43272)
Signed-off-by: Patrick-Erichsen <Patrick.Erichsen@target.com>
2020-03-31 11:31:01 -07:00
Chris. Webster
30b7468458
Add types for libqp (#43437)
ts enable the libqp functions

Signed-off-by: Chris. Webster <chris@webstech.net>
2020-03-31 11:05:50 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
f42b6f9971
feat(postcss-custom-properties): new type definition (#43446)
- definition file
- test coverage for standalone and plugin usage

https://github.com/postcss/postcss-custom-properties#usage

Thanks!
2020-03-31 11:04:53 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
c7cf211ff6
feat(perfy): new definition type v1.1 (#43451)
- definition file
- test coverage with common usage

https://github.com/onury/perfy#readme
https://github.com/onury/perfy/issues/4

Thanks!
2020-03-31 11:03:18 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
55915aa663
feat(postcss-reporter): type definitiion for v6.0 (#43458)
- type definition for plugin and for the formatter
- tests

https://github.com/postcss/postcss-reporter#readme

Thanks!
2020-03-31 10:58:24 -07:00
Vincenzo Chianese
e21346be33
feat: add vhost types (#43467)
* feat: add vhost types

* refactor: lints
2020-03-31 10:49:40 -07:00
Tobias Hann
8b65eec5a8
Add types for react-native-calendar-picker (#43466) 2020-03-31 10:48:16 -07:00
Mahruan
6182acddf6
Add tictactoejs types (#43472)
* Add files via upload

* Add files via upload

* Add files via upload
2020-03-31 10:46:24 -07:00
Jojoshua
464a70cabc
Update to tabulator-tables 4.6 (#43496)
* Update to tabulator-tables 4.6

* update version number

* update typescript version

* change minimum typescript version

* update array type
2020-03-31 10:10:13 -07:00
Dmitri Dimitrioglo
29d6b019ff
Support square-connect@3.x API typings (#43468) 2020-03-31 10:06:19 -07:00
Sebastian Silbermann
9986a0cc66
fix(react): Reduce error message noise (#43215) 2020-03-31 10:02:46 -07:00
evan-hughes
fb335f516e
Update akamai-edgeworkers to include routing, setvariable (#43489) 2020-03-31 10:01:04 -07:00
ori-moisis
6c2ca77f84
[wu] fix WuIterable.zip generics (#43517) 2020-03-31 09:59:59 -07:00
Sam Rose
477a8668a4
[styled-system/css] export all SystemStyleObject dependents (#43518)
The `StyleSystemObject` contains a few union types that aren't being publicly exported. This was causing errors when trying to use the `SystemStyleObject` in external projects.

Exporting the `CSSSelectorObject`, `VariantProperty`, and `UseThemeFunction` to allow external use of the `StyleSystemObject` type.
2020-03-31 09:41:38 -07:00
epx-darius
86b81d0c1c
ZipCodes: Including random(); typing (#43488)
* including random function for zipcodes typing

* update zipcodes version number
2020-03-31 09:41:00 -07:00
Mathias Schilling
04fd2bbb0a
carbon-components-react: add hideLabel attribute in DatePickerInputProps (#43242) 2020-03-31 09:40:15 -07:00
Sam Rose
9e35061d6a
Export the ThemeBreakPoints declaration (#43495)
The exported `Theme` interface throws a reference error when attempting to use within another project. This is due to not exporting the `ThemeBreakPoints` type.
2020-03-31 09:39:31 -07:00
Benjamin Cooper
bbb7c23de9
OpenPGP: Make TS 3.2 definitions be valid Typescript (#43500)
* Make Openpgp TS3.2 definitions be valid Typescript

* run prettier on openpgp types

* remove trailing comma
2020-03-31 09:37:18 -07:00
Tomasz Pluskiewicz
28ef98c43b
fix(clownface): multiple context term may be defined (#43512) 2020-03-31 09:34:51 -07:00
Florian Keller
ec71209dc5
[sodium-native] Add SecureBuffer attribute (#43514) 2020-03-31 09:34:02 -07:00
Michael Li
96f3e14ea2
Update input.d.ts (#43079) 2020-03-30 18:23:22 -07:00
Michaël De Boey
9af2953e04
[dot-object] update objecttype (#42845)
* [dot-object] update `object`type

* Update index.d.ts

* Update index.d.ts
2020-03-30 18:20:35 -07:00
Vincenzo Chianese
37dd9285e9
Postman Collection — responses is singular (#43231)
* Update index.d.ts

* Update postman-collection-tests.ts

* Update index.d.ts
2020-03-30 18:19:10 -07:00
Leandro Facchinetti
f39f2c9319
Be more specific on the type of html (#43234) 2020-03-30 18:18:26 -07:00
Tümay Çeber
1b0e038153
async methods return a Promise if you omit the callback (#43249) 2020-03-30 18:17:55 -07:00
Andrey Trebler
649f32a864
parameter of createChannel method is optional (#43273) 2020-03-30 18:16:10 -07:00
Leandro Facchinetti
bcd52d08ab
@types/smtp-server Make optional the callback to close() (#43268)
Note how the implementation [checks](427cb7a238/lib/smtp-server.js (L138)) whether the callback was passed.
2020-03-30 18:15:42 -07:00
Leandro Facchinetti
fab831b1d9
@types/mailparser Fix nullability of ParsedEmail fields (#43323)
| [Documentation](https://nodemailer.com/extras/mailparser/#mail-object) | Nullable for real | Current Types                          | Right? |
| ---------------------------------------------------------------------- | ----------------- | -------------------------------------- | ------ |
| `headers`                                                              | NO                | `headers: Headers`                     | YES    |
| `subject`                                                              | YES               | `subject: string`                      | NO     |
| `from`                                                                 | YES               | `from: AddressObject`                  | NO     |
| `to`                                                                   | YES               | `to: AddressObject`                    | NO     |
| `cc`                                                                   | YES               | `cc?: AddressObject`                   | YES    |
| `bcc`                                                                  | YES               | `bcc?: AddressObject`                  | YES    |
| `date`                                                                 | YES               | `date?: Date`                          | YES    |
| `messageId`                                                            | YES               | `messageId?: string`                   | YES    |
| `inReplyTo`                                                            | YES               | `inReplyTo?: string`                   | YES    |
| `reply-to`                                                             | YES               | `replyTo?: AddressObject`              | YES    |
| `references`                                                           | YES               | `references?: string[]`                | YES    |
| `html`                                                                 | NO                | `html: string | boolean`               | YES    |
| `text`                                                                 | YES               | `text: string`                         | NO     |
| `textAsHtml`                                                           | YES               | `textAsHtml: string`                   | NO     |
| `attachments`                                                          | NO                | `attachments?: Attachment[]`           | NO     |
|                                                                        | NO                | `headerLines: HeaderLines`             | YES    |
|                                                                        | YES               | `priority?: 'normal' | 'low' | 'high'` | YES    |

I used the following program to determine the nullability of fields:

```ts
import mailparser from "mailparser";

(async () => {
  const email = await mailparser.simpleParser("");
  console.log(JSON.stringify(email, null, 2));
  console.log("headers: ", JSON.stringify(email.headers, null, 2));
  console.log("subject: ", JSON.stringify(email.subject, null, 2));
  console.log("from: ", JSON.stringify(email.from, null, 2));
  console.log("to: ", JSON.stringify(email.to, null, 2));
  console.log("cc: ", JSON.stringify(email.cc, null, 2));
  console.log("bcc: ", JSON.stringify(email.bcc, null, 2));
  console.log("date: ", JSON.stringify(email.date, null, 2));
  console.log("messageId: ", JSON.stringify(email.messageId, null, 2));
  console.log("inReplyTo: ", JSON.stringify(email.inReplyTo, null, 2));
  console.log("reply-to: ", JSON.stringify(email.replyTo, null, 2));
  console.log("references: ", JSON.stringify(email.references, null, 2));
  console.log("html: ", JSON.stringify(email.html, null, 2));
  console.log("text: ", JSON.stringify(email.text, null, 2));
  console.log("textAsHtml: ", JSON.stringify(email.textAsHtml, null, 2));
  console.log("attachments: ", JSON.stringify(email.attachments, null, 2));

  console.log("headerLines: ", JSON.stringify(email.headerLines, null, 2));
  console.log("priority: ", JSON.stringify(email.priority, null, 2));
})();
```
2020-03-30 18:14:53 -07:00
Robert Wettstädt
25e6101351
[echarts] Change graph series links and categories from single objects to arrays of objects (#43381)
* [echarts] Change graph series links to array

* [echarts] Change graph series categories to array
2020-03-30 18:07:42 -07:00
Johannes Scheibe
5f733137d4
@types/react-map-gl: change schema to scheme in SourceProps (#43200)
* 🐛 change schema to scheme (typo)

*  add test for SourceProp scheme

*  add source and layer for raster tiles in test

* 🔥 remove scheme from geojson source

* 🐛 use correct source id in layer test
2020-03-30 17:44:56 -07:00
Liam Wilkins
f7cb00f54f
MouseEvent correctly inherits UIEvent properties (#38774)
https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent at time of
writing shows that MouseEvent should share properties from UIEvent.
2020-03-30 17:44:03 -07:00
Jean-Raphaël Matte
4e2b7278ed
[@types/pdfmake] Overhaul type definitions (cont. from #42787) (#42991)
* [@types/pdfmake] Split definitions

pdfmake/index.d.ts will only export the node api.
pdfmake/interfaces.d.ts will contain all data types
pdfmake/build/pdfmake.d.ts will export the browser module api as well as the global namespace object
pdfmake/build/vfs_fonts.d.ts will export the vfs for the browser

* [@types/pdfmake] Add type references for node and pdfkit

* [@types/pdfmake] Remove enums

TypeScript enums exist at runtime and should never be used in type declaration files unless they perfectly describe the behaviour of the JS code (which is highly unlikely). pdfMake only expects string literals, so the enums were modeled as unions of string literals.

* [@types/pdfmake] Overhaul interfaces

All changes were meticulously verified against the official docs, the examples AND the source code. Since the documentation is incomplete, the only real spec I had to work with was the actual implementation, which is less than ideal.

* [@types/pdfmake] Update server and browser api files

The server api exposes a class as single export object. This means the `export =` syntax is necessary for the type definitions, and the consumers must import the module with an `import PdfPrinter = require('pdfmake')` statement.
The browser api expose both a compliant ES6 module and a global 'pdfMake' object, which is why the 'export as namespace' syntax is necessary.

* [@types/pdfmake] Update tests

The examples provided by the pdfMake playground and repository are all copied in pdfmake-playground-examples-tests.ts and pdfmake-examples-test.ts respectively.
The pdfmake-interfaces-tests.ts contains code from the documentation as well as additionnal tests for coverage.
The other files test all different flavors of the api.

* [@types/pdfmake] Add myself as maintainer

* [@types/pdfmake] Layout long union type

* [@types/pdfmake] Add PageBreak union type

* [@types/pdfmake] Add doc comments

* [@types/pdfmake] Fix typo
2020-03-30 17:42:10 -07:00
Michael Mitchell
ef958d9a91
Fix bent response (#43475)
* [bent] Add `dom` as a triple-slash reference

For some reason including dom in the lib doesn't appear to work, and tsc throws an error if the user doesn't include `dom` in their own project.

* [bent] Bump minimum TypeScript ver
2020-03-30 17:29:20 -07:00