Commit Graph
47795 Commits
Author SHA1 Message Date
Klaus Meinhardt 6e4e25a30e add git-url-parse (#27233) 2018-07-15 12:47:32 -07:00
Klaus Meinhardt 6c93547985 add parse-github-url (#27230)
Please fill in this template.

- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [x] Add or edit tests to reflect the change. (Run with `npm test`.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).
- [x] The package does not already provide its own types, or cannot have its `.d.ts` files generated via `--declaration`
- [x] If this is for an NPM package, match the name. If not, do not conflict with the name of an NPM package.
- [x] Create it with `dts-gen --dt`, not by basing it on an existing project.
- [x] `tslint.json` should be present, and `tsconfig.json` should have `noImplicitAny`, `noImplicitThis`, `strictNullChecks`, and `strictFunctionTypes` set to `true`.
2018-07-15 12:46:51 -07:00
Klaus Meinhardt d37a85553f Add github-url-to-object (#27229)
Please fill in this template.

- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [x] Add or edit tests to reflect the change. (Run with `npm test`.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).
- [x] The package does not already provide its own types, or cannot have its `.d.ts` files generated via `--declaration`
- [x] If this is for an NPM package, match the name. If not, do not conflict with the name of an NPM package.
- [x] Create it with `dts-gen --dt`, not by basing it on an existing project.
- [x] `tslint.json` should be present, and `tsconfig.json` should have `noImplicitAny`, `noImplicitThis`, `strictNullChecks`, and `strictFunctionTypes` set to `true`.
2018-07-15 12:46:24 -07:00
Sebastian Silbermann 4ca4cba9ea [react-select]: add typings for valueComponent prop (#27145) 2018-07-15 12:45:29 -07:00
Jonathan Skeate fc1bfd0f9e [material-ui] Add placeholder, title to TextFieldProps (#27082) 2018-07-15 12:44:37 -07:00
Adam Binford ec15c9c9a3 Expanded allowable redux version (#27156) 2018-07-15 12:44:07 -07:00
Allison Shaw 2ace47c404 Update index.d.ts (#27158)
Expose the public GenericOptions const to users.
2018-07-15 12:43:32 -07:00
Emilio Martinez 11bb84af8c feat(html-webpack-plugin): add html-webpack-plugin hook definitions (#27135) 2018-07-15 12:43:04 -07:00
sparklellama 606b1af8e1 Add access to numer.js options (#27159)
Not possible to set options for numeral.js with current .d.ts.  Adding the following seems to get it working on my project so hoping it can be included at the DefinitelyTyped end.
2018-07-15 12:42:15 -07:00
Andrew Debens 215cb1970b [classnames] Supporting ES6 & commonjs module imports (#27127)
* Updating classnames types for es6 and node imports

* Fixing linting
2018-07-15 12:38:59 -07:00
Marcin Tomczyk 2550b11007 Add types for jexl@1.1 by TechnologyAdvice; new owner TomFrost (#27269) 2018-07-15 12:38:16 -07:00
Ika e06903040a feat(find-project-root): initial commit (#27291) 2018-07-15 12:35:11 -07:00
Ika 40ed9ae071 feat(find-parent-dir): initial commit (#27290) 2018-07-15 12:34:50 -07:00
Ben O'Sullivan c3293bdfe3 Added typings for websocket-async (#27293)
* Added typings for websocket-async

* Updated in accordance with linter

* Update tsconfig.json
2018-07-15 12:34:22 -07:00
Daniel Cassidy b2bbdd8241 Add type declarations for stream-shift. (#27295) 2018-07-15 12:32:52 -07:00
Sindre fa96e1d7a3 added react-albus (#27300)
* added react-albus

* react-albus: fix lint errors
2018-07-15 12:31:54 -07:00
evelijn 1f95827a0d Add types for barbellweights module (#27302)
* Add types for barbellweights

* Add types for barbellweights
2018-07-15 12:31:28 -07:00
Amiram Korach 26defd42ae fix chart.js plugins to be an array (#27298)
http://www.chartjs.org/docs/latest/developers/plugins.html#using-plugins
2018-07-15 12:29:57 -07:00
Daniel Cassidy 270885d33a [merge-stream] Apply standard lint rules, fix common mistakes (#27286)
* Apply standard lint rules to merge-stream.

 * Format version number as MAJOR.MINOR, patch is not allowed.
 * Delete consecutive blank lines.
 * Cut down author list into multiple lines.
 * Replace author's website with their github page.
 * Remove I prefix from MergedStream interface.
 * Use Array<...> for complex array type.
 * Delete blank line at start of file.
 * Replace all uses of 'var' with 'let' or 'const'.
 * Combine overloads into one signature.

* Apply strict null checks to merge-stream.

* Use ReadonlyArray in preference to Array where appropriate.

merge() and add() do not modify the arrays passed to them,
so they can be typed as ReadonlyArray.

* Add self to authors list.
2018-07-15 12:29:43 -07:00
Roger 02ddad0cbe Add missing update and create method for crypto-js (#27262)
For chunked hashing of a file with MD5 the create and update methods on the Hasher need to be exposed.
2018-07-15 12:28:49 -07:00
David Walschots 4b10dc79a3 react-widgets: Fix DateTimePicker parse type (#27188) 2018-07-15 12:28:32 -07:00
Bryan Forbes 346791e748 Organize Globalize types into modules for individual or module-level use (#27271) 2018-07-15 12:28:06 -07:00
Sebastian Sebald 56da96e652 @types/jest: Add inline snapshot matchers (#27258)
Add the following matchers:

- `toMatchInlineSnapshot`
- `toThrowErrorMatchingInlineSnapshot`
2018-07-15 12:27:35 -07:00
Siegfried Bilstein b8c4d1deb5 Add Link type to prismic-dom (#27169)
* Add Link type to prismic-dom

* Add link type to default export for prismic-dom
2018-07-15 12:27:19 -07:00
Luke 2b130f9106 Bull: Add 'every' RepeatOptions property (#27227)
* add 'every' repeatoptions property

* fix linting

* version number

* remove patch version from header
2018-07-15 12:27:05 -07:00
pana-cc 81b2d6f869 Change type PendingSuiteFunction with interface (#26970)
* Change type PendingSuiteFunction with interface

This allows the PendingSuiteFunction interface to be augmented with additional overloads.
The feature is used in [mocha-typescript](http://github.com/pana-cc/mocha-typescript).

P. S. Where can I add tests for this? It has been broken 3 or 4 times before. Interface get frequently renamed (e.g. from ISuite to Suite) or simple interfaces get declared with types.

I need to set interfaces:
```
declare namespace Mocha {
    interface SuiteFunction {
    }
    interface TestFunction {
    }
    interface PendingSuiteFunction {
    }
    interface PendingTestFunction {
    }
}
```
To be set in stone so their augmentations don't get broken.

* Add tests, disable callable-types in tslint, add experimentalDecorators
2018-07-15 12:26:43 -07:00
Sam A. Horvath-Hunt b2753c35be Remove buggy custom DeepReadonly type (#27236) 2018-07-15 12:26:06 -07:00
Martin Hochel e731338239 fix(enzyme): change generic P,S params typo in shallow/mount (#27255) 2018-07-15 12:23:01 -07:00
Amiram Korach dcd53299bf Inboxsdk fix destroy event (#27237)
* inboxsdk - fix destroyed event => destroy

* inboxsdk - fix destroyed event => destroy
2018-07-15 12:22:46 -07:00
Caleb Clarke ee49a4763b react-native - Added nativeConfig to WebViewProps (#27211)
* Added nativeConfig to WebViewProps

* Added test

* Object -> object

* Added remaining nativeConfig properties to test
2018-07-15 12:19:53 -07:00
Marcin Biernat a9e4738139 [ramda] use keyof in R.keys (#27167) 2018-07-15 12:18:16 -07:00
Ika 37615f1933 fix(prettier): add missing parsers (#27276) 2018-07-15 12:17:55 -07:00
Mike North 2beceb200e [ember-data] Model#eachRelationship fixes (#27278) 2018-07-15 12:17:42 -07:00
joma74 57ab455b32 align devServer definition with #26895 by removing it in v3 also (#27287) 2018-07-15 06:16:23 +01:00
John Reilly f9a9d0bea8 Expose types for Cleave.js (#27277)
* expose react props

* wrong filename
2018-07-14 09:06:00 +01:00
Ahmed T. Ali 6f655862b5 chore(@types/webpack): remove myself as reviewer (#27275) 2018-07-14 06:57:37 +01:00
Jan Nicklas e0555a57d8 [tapable] Replace any return values of tapable (#27219) 2018-07-13 23:34:12 +01:00
Grant Timmerman 9f25bcc456 Update Google Apps Script Types (2017-05-12 -> 2018-07-11) (#27235)
This PR updates Google Apps Script types. (2017-05-12 -> 2018-07-11)
This is a generated type definition.
CC: @erickoledadevrel

---

- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [x] Add or edit tests to reflect the change. (Run with `npm test`.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).
```
npm run lint google-apps-script
definitely-typed@0.0.2 lint /Users/timmerman/Documents/github/DefinitelyTyped
dtslint types "google-apps-script"
# No result.
```

If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://developers.google.com/apps-script/reference/
- [x] Increase the version number in the header if appropriate.
  - The version should be bumped by the publisher.
- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
2018-07-13 15:05:15 -07:00
Ryan Cavanaugh 9cc0de6422 Update CODEOWNERS (#27270) 2018-07-13 14:52:50 -07:00
Oliver Joseph Ash 1ba324e0a9 Lodash: negate: fix for user defined type guard (#27223)
* Lodash: `negate`: add test for user defined type guard

* Lodash: `negate`: fix for user defined type guard

* Add overload for 0 params

* Lodash: `negate`: add overload for predicates with more than 2 params

* Lodash: generate new FP typings

* Lodash: update corresponding wrapper functions

* Lodash: generate new FP typings
2018-07-13 14:20:22 -07:00
Oliver Joseph Ash c52d1ab8e3 Lodash: pickBy: add overload for user defined type guards (#27220)
* Lodash: `pickBy`: add overload for user defined type guards

* Lodash: generate new FP typings

* Lodash: update corresponding wrapper functions

* Lodash: generate new FP typings
2018-07-13 14:18:14 -07:00
segayuu 6f808b9c09 simple typed test: hexo-fs (#27246) 2018-07-13 14:15:00 -07:00
Omar Diab 1bac5b9a6c Fix onRef typings (ComponentType -> Component), generic for specificity (#27055)
* correct type for withNavigation onRef, add generic to access class methods

* tests for withNavigation class correctness

* tabbing

* remove generic, add explicit type suggestion
2018-07-13 13:08:26 -07:00
Jan Henry Loewe 96d0d38a9f [@types/onoff] Add activeLow option (#27129) 2018-07-13 13:02:41 -07:00
Hari Sivaramakrishnan 9b1c19d214 [url-parse] Export URL definition in url-parse (#27125)
* Export URL in url-parse

* Add to definitions by list
2018-07-13 13:02:09 -07:00
Lucian Buzzo b2b13c6fb0 react-jsonschema-form: Fix incorrect typings for TitleField and DescriptionField (#27164)
Change-type: patch
2018-07-13 13:01:08 -07:00
Andy b40bf4d545 react-bootstrap: Set TS version to 2.8 (#27266)
* react-bootstrap: Set TS version to 2.8

* Remove unused dependency
2018-07-13 12:58:52 -07:00
Sorin Sandru 564b0ff631 Add types for winston-mail (#27128)
* Add types for winston-mail

* added winston dependency

Created a package.json file with winston dependency

* Changed dependency in package.json

Changed dependency in package.json to winston  2.3.9 and higher.
2018-07-13 12:47:26 -07:00
Marlon Chatman 877ced9c4b Add Antlr4 Definitions/Types (#27120)
* Add antlr4 definitions/types

* Update the tsconfig.json for the antlr4 types

* Update the tsconfig.json for the antlr4 types. Use files instead of includes.

* Remove antlr4-test.ts to antlr4-tests.ts, for the antlr4 types

* Remove the c-parser.ts, for the antlr4 types. As this is not allowed in the antlr4-test.ts

* Fix antlr4 types test lint failure

* Update the linting and the tslint.json

* Update the tslint.json, for antlr4 types
2018-07-13 12:46:40 -07:00
Jiayu Liu 97b3f510e6 fix travis build by upgrading typescript version of (#27244)
amqp-connection-manager
2018-07-13 08:42:09 -07:00