Commit Graph
47807 Commits
Author SHA1 Message Date
Lorex75andAndy c9a4dbbefa snapTo method (#27415)
* snapTo method

As per Official Docs, this method accept as first parameter or a number or an array of numbers, not just an array of numbers (docs -> http://snapsvg.io/docs/#Snap.snapTo, source -> https://github.com/adobe-webplatform/Snap.svg/blob/b242f49e6798ac297a3dad0dfb03c0893e394464/src/svg.js#L519)

* Typo
2018-07-20 08:43:03 -07:00
Leonard ThieuandJohn Reilly 63867fb112 [jquery] offset can accept a partial Coordinates object. (#27437) 2018-07-20 13:31:21 +01:00
AndyandGitHub a5ab4665a8 reactstrap: Set TS version to 2.9 (#27372) 2018-07-19 15:51:48 -07:00
AndyandGitHub f6fbbec6a8 topojson-specification: Make compatible with ts3.0 (#27379) 2018-07-19 07:56:50 -07:00
AndyandGitHub 758b028f89 heatmap.js: Make compatible with ts3.0 (#27393) 2018-07-19 07:56:34 -07:00
Alan AgiusandJohn Reilly a976849308 uglify-js: turn on strictNullChecks (#27408) 2018-07-19 06:18:17 +01:00
Eloy DuránandGitHub a7079a1139 Merge pull request #27362 from mshoho/react-native-typo-fix
React native typo fix
2018-07-17 22:51:08 +02:00
Marat Abdullin b6e31ebe69 Adding the test. 2018-07-17 13:53:59 +02:00
Marat Abdullin f1be7646d5 Fixing the typo in a property name. 2018-07-17 13:44:39 +02:00
SindreandRyan Cavanaugh 91f8a6b7d1 auto-bind definitions (#27299)
* auto-bind definitions

* auto-bind: fix lint errors

* auto-bind: PR feedback, fix import syntax in tests
2018-07-16 11:09:10 -07:00
Sebastian LenzandJohn Reilly 504902e974 Add third parameter parent to matchPath, add prop sensitive to Route (#27336)
* Add third parameter `parent` to matchPath

MathPath takes a third parameter, see https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/matchPath.js#L28

* Add prop `sensitive` to Route

Routes accept the prop `sensitive`, see https://reacttraining.com/react-router/web/api/Route/sensitive-bool
2018-07-16 17:51:24 +01:00
Ben GrynhausandRyan Cavanaugh b56eb29ea6 Added types for 'css-to-style' (#27253) 2018-07-15 12:47:55 -07:00
Klaus MeinhardtandRyan Cavanaugh 6e4e25a30e add git-url-parse (#27233) 2018-07-15 12:47:32 -07:00
Klaus MeinhardtandRyan Cavanaugh 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 MeinhardtandRyan Cavanaugh 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 SilbermannandRyan Cavanaugh 4ca4cba9ea [react-select]: add typings for valueComponent prop (#27145) 2018-07-15 12:45:29 -07:00
Jonathan SkeateandRyan Cavanaugh fc1bfd0f9e [material-ui] Add placeholder, title to TextFieldProps (#27082) 2018-07-15 12:44:37 -07:00
Adam BinfordandRyan Cavanaugh ec15c9c9a3 Expanded allowable redux version (#27156) 2018-07-15 12:44:07 -07:00
Allison ShawandRyan Cavanaugh 2ace47c404 Update index.d.ts (#27158)
Expose the public GenericOptions const to users.
2018-07-15 12:43:32 -07:00
Emilio MartinezandRyan Cavanaugh 11bb84af8c feat(html-webpack-plugin): add html-webpack-plugin hook definitions (#27135) 2018-07-15 12:43:04 -07:00
sparklellamaandRyan Cavanaugh 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 DebensandRyan Cavanaugh 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 TomczykandRyan Cavanaugh 2550b11007 Add types for jexl@1.1 by TechnologyAdvice; new owner TomFrost (#27269) 2018-07-15 12:38:16 -07:00
IkaandRyan Cavanaugh e06903040a feat(find-project-root): initial commit (#27291) 2018-07-15 12:35:11 -07:00
IkaandRyan Cavanaugh 40ed9ae071 feat(find-parent-dir): initial commit (#27290) 2018-07-15 12:34:50 -07:00
Ben O'SullivanandRyan Cavanaugh 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 CassidyandRyan Cavanaugh b2bbdd8241 Add type declarations for stream-shift. (#27295) 2018-07-15 12:32:52 -07:00
SindreandRyan Cavanaugh fa96e1d7a3 added react-albus (#27300)
* added react-albus

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

* Add types for barbellweights
2018-07-15 12:31:28 -07:00
Amiram KorachandRyan Cavanaugh 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 CassidyandRyan Cavanaugh 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
RogerandRyan Cavanaugh 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 WalschotsandRyan Cavanaugh 4b10dc79a3 react-widgets: Fix DateTimePicker parse type (#27188) 2018-07-15 12:28:32 -07:00
Bryan ForbesandRyan Cavanaugh 346791e748 Organize Globalize types into modules for individual or module-level use (#27271) 2018-07-15 12:28:06 -07:00
Sebastian SebaldandRyan Cavanaugh 56da96e652 @types/jest: Add inline snapshot matchers (#27258)
Add the following matchers:

- `toMatchInlineSnapshot`
- `toThrowErrorMatchingInlineSnapshot`
2018-07-15 12:27:35 -07:00
Siegfried BilsteinandRyan Cavanaugh 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
LukeandRyan Cavanaugh 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-ccandRyan Cavanaugh 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-HuntandRyan Cavanaugh b2753c35be Remove buggy custom DeepReadonly type (#27236) 2018-07-15 12:26:06 -07:00
Martin HochelandRyan Cavanaugh e731338239 fix(enzyme): change generic P,S params typo in shallow/mount (#27255) 2018-07-15 12:23:01 -07:00
Amiram KorachandRyan Cavanaugh 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 ClarkeandRyan Cavanaugh 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 BiernatandRyan Cavanaugh a9e4738139 [ramda] use keyof in R.keys (#27167) 2018-07-15 12:18:16 -07:00
IkaandRyan Cavanaugh 37615f1933 fix(prettier): add missing parsers (#27276) 2018-07-15 12:17:55 -07:00
Mike NorthandRyan Cavanaugh 2beceb200e [ember-data] Model#eachRelationship fixes (#27278) 2018-07-15 12:17:42 -07:00
joma74andJohn Reilly 57ab455b32 align devServer definition with #26895 by removing it in v3 also (#27287) 2018-07-15 06:16:23 +01:00
John ReillyandGitHub f9a9d0bea8 Expose types for Cleave.js (#27277)
* expose react props

* wrong filename
2018-07-14 09:06:00 +01:00
Ahmed T. AliandJohn Reilly 6f655862b5 chore(@types/webpack): remove myself as reviewer (#27275) 2018-07-14 06:57:37 +01:00
Jan NicklasandJohn Reilly e0555a57d8 [tapable] Replace any return values of tapable (#27219) 2018-07-13 23:34:12 +01:00
Grant TimmermanandRyan Cavanaugh 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