Commit Graph
57967 Commits
Author SHA1 Message Date
Mike North 559078d30d [ember] refactor @ember/object types into their own package (#28835)
* [ember] @ember/object types refactored into their own package

* Update create-negative.ts
2018-09-17 01:08:12 -07:00
Paul Lessing 5a12a3f10f Add types for web-push (#28910) 2018-09-17 01:06:02 -07:00
Max 3fdd79cae9 [jwt-then] Add Types (#28928)
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-09-17 01:04:55 -07:00
zackzeno 84d10599aa [lovefield] Replace Object with object (#28757)
This is my first contribution, so I'm not sure if I missed something. I plan to make a more detailed edit in the future that replaces object with true generics, but it's not immediately obvious how to do that.

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).

Select one of these and delete the others:

If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes
- [x] Increase the version number in the header if appropriate.
- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
2018-09-17 01:02:49 -07:00
Brian Strobach 0ef18e16fc Return type fixes for euclidean distance and color difference functions. (#28758)
Looks like these functions were accidentally typed as returning Color. Updated to return number type.
2018-09-17 01:02:01 -07:00
Andres Rosero 3523c68c52 @types/google-map-react - optional elementType and featureType of a MapTypeStyle (#28766)
* optional elementType and featureType of a MapTypeStyle

* little fix
2018-09-17 01:01:23 -07:00
BradleyHill 4efc019933 Add definitions for Object.borderDashArray & Text.charSpacing. Travis never runs. Re-branch. (#28787) 2018-09-17 00:59:59 -07:00
Mike North d49861a134 [ember] remove types for non-public APIs (#28917)
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).

If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes:
   	- https://www.emberjs.com/api/ember/3.4/modules/@ember%2Fmap
	- https://www.emberjs.com/api/ember/3.4/modules/@ember%2Finstrumentation
	- https://www.emberjs.com/api/ember/3.4/modules/@ember%2Fenumerable
 	- https://github.com/emberjs/ember.js/blob/f73d8440d19cf86a10c61ddb89d45881acfcf974/packages/%40ember/-internals/utils/lib/make-array.ts#L30
- [x] Increase the version number in the header if appropriate.
- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
2018-09-17 00:50:47 -07:00
Mike North 6c340ade74 [ember] relax types around Ember.set & setProperties (#28915)
- [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).

If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://www.emberjs.com/api/ember/3.4/functions/@ember%2Fobject/set
- [x] Increase the version number in the header if appropriate.
- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.

---
- Fixes https://github.com/typed-ember/ember-cli-typescript/issues/308
- Workaround due to breaking change https://github.com/Microsoft/TypeScript/issues/26120
- Would much much cleaner w/ a fix for https://github.com/Microsoft/TypeScript/issues/27014
2018-09-17 00:48:34 -07:00
various89 8062de22e4 adds ClientSession to SaveOptions mongoose (#28880)
* adds session to SaveOptions

* removes redundant create method
2018-09-17 00:46:42 -07:00
mabidina 2d6f7180c4 fix fluent-ffmpeg logger interface, no warning method but warn exists (#28885)
Even if documentation says it, there is no `warning` methods for Logger object in fluent-ffmpeg 2.1.2
It is a `warn `method.
see  https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/v2.1.2/lib/fluent-ffmpeg.js [lign 76]
2018-09-17 00:44:50 -07:00
Mike North e79bb7f390 [@ember/string] Move types from ember (#28922)
* [ember] no longer re-create Handlebars namespace
- Fixes https://github.com/typed-ember/ember-cli-typescript/issues/309

* [ember] move @ember/string types to ember__string
Fixes https://github.com/typed-ember/ember-cli-typescript/issues/294
2018-09-17 00:42:27 -07:00
Ankur Oberoi 696e5f2e10 [passport-oauth2] Allows callbackURL option to be omitted in constructor of OAuth2Strategy (#28907)
* [passport-oauth2] callbackURL is an optional value

The implementation for this OAuth2Strategy handles `callbackURL` being undefined, so this more accurately describes the interface.

* Making at least one test case use no callbackURL
2018-09-17 00:41:54 -07:00
Simon Schick 9061b19a3c types(node): add changes from 10.10 (#28918)
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).

Select one of these and delete the others:


If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#2018-09-06-version-10100-current-targos
- [x] Increase the version number in the header if appropriate.
- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.

RE: #28708

Lets try this again.
2018-09-17 00:39:14 -07:00
Dyma 7cd6d7398c Node - missing property on IncomingHttpHeaders (#28929)
Missing referer property on IncomingHttpHeaders
see: https://tools.ietf.org/html/rfc4229
2018-09-17 00:38:28 -07:00
James Bromwell 15d979e92a [webpack-dev-server] add tests for Stats, only allow specific strings (#28788)
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).

Select one of these and delete the others:

If changing an existing definition:
- [X] Provide a URL to documentation or source code which provides context for the suggested changes: https://webpack.js.org/configuration/stats/#stats
- [ ] Increase the version number in the header if appropriate.
- [ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.


Ref #28362
2018-09-17 00:37:38 -07:00
Dyma f43a4d63c1 Mongoose - pre hook methods update (#28905)
Missing methods for pre hook
2018-09-17 00:35:03 -07:00
Thodoris Greasidis e869f8ca81 [angular-ui-sortable] Fix test failures caused by TypeScript@next (#28927)
Resolves: #28887
TBH this feels like a regression in TS 3.1.0-dev.20180915
2018-09-17 00:34:22 -07:00
James Messinger 073908ebd9 Type definitions for yargs.middleware() (#28725)
* Type definitions for the .middleware() method

The `.middleware()` method is [documented here](http://yargs.js.org/docs/#api-middlewarecallbacks)

* Updated the version number

* Moved the v11 definition to its own folder (https://github.com/DefinitelyTyped/DefinitelyTyped/pull/28725#pullrequestreview-153566231)

* updated the tsconfig.json for v11

* added an EOF newline
2018-09-17 00:33:43 -07:00
tyfkda f7738b9678 Fix example script for md5 (#28889)
'md5.d.ts' doesn't exist in the repository, so running md5-test fails.

Stop reading a file just for acquiring `Buffer`,
and create it from array.

----

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).

Select one of these and delete the others:

If changing an existing definition:
- ~~[ ] Provide a URL to documentation or source code which provides context for the suggested changes: <<url here>>~~
- ~~[ ] Increase the version number in the header if appropriate.~~
- ~~[ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.~~
2018-09-17 00:33:05 -07:00
Jinesh Shah 91886422ba Fix exports to allow named exports (#28902)
* Fix exports

Fix exports so they can be name for "declaration: true" tsconfigs

* Updated tests

* Update tsconfig.json

* Update tslint.json
2018-09-17 00:32:34 -07:00
tyfkda e42f933081 Change md5 declaration to accepts Array<number> (#28891)
md5 accepts not only `string | Buffer`,
but also `Array<number>` from the beginning:

https://github.com/pvorb/node-md5/blob/master/md5.js#L19
2018-09-17 00:31:43 -07:00
Stéphane Monnot 373eab6d1c Update definitions for react-vertical-timeline-component (#28909) 2018-09-17 00:31:09 -07:00
tamnguyenvt 5016fdb13a papaparse: Allow to change papa.SCRIPT_PATH (#28932) 2018-09-17 08:29:59 +01:00
gianna 79cf98f52a Fluent-ffmpeg - Make the stream argument for the pipe function optional
- Per fluent-ffmpeg documentation: (https://github.com/fluent-ffmpeg/node-fluent-ffmpeg#pipestream-options-pipe-the-output-to-a-writable-stream) - “When no stream argument is present, the pipe() method returns a PassThrough stream, which you can pipe to somewhere else (or just listen to events on).”
2018-09-16 22:32:23 -07:00
Mike North d9c8fecb5f [ember] addObserver, removeObserver should return functions (#28921)
Fixes https://github.com/typed-ember/ember-cli-typescript/issues/290
2018-09-16 15:00:45 -07:00
Mike North 9a4fd80c8c [@ember/polyfills] Move types from ember (#28923)
https://github.com/typed-ember/ember-cli-typescript/issues/299
2018-09-16 15:00:28 -07:00
Martin Kiefel 891e77710a Fix slate-plain-serializer's default export
The slate-plain-serializer does not directly export its functions but uses an
object for its default export.
2018-09-16 21:21:56 +02:00
ZaneHannanAU b5e7823c29 Update .editorconfig 2018-09-17 05:13:56 +10:00
Bradley Ayers c7d547e221 fix(stripe): ISubscription.ended_at is nullable 2018-09-16 19:08:14 +10:00
William LeGate 2105750855 Updates tests 2018-09-15 19:17:04 -07:00
William LeGate 7ce22877a1 Updates array type declaration to comply with CI testing 2018-09-15 18:54:25 -07:00
William LeGate 0a937e8133 Removes franc patch version 2018-09-15 18:49:16 -07:00
William LeGate 8ed0d10d16 Adds 'strictFunctionTypes' to tsconfig 2018-09-15 18:41:23 -07:00
William LeGate 72466d36fc Removes comment that ca was causing a CI build failure 2018-09-15 18:36:28 -07:00
Terry Mun bf4b60d283 Updated tests to include prepending to document fragment 2018-09-15 11:51:22 +02:00
Terry Mun 8d250ffcd8 prependTo() and appendTo() should work with Element or DocumentFragment 2018-09-15 11:43:11 +02:00
Terry Mun 3253d8a83b Merge remote-tracking branch 'upstream/master' 2018-09-15 11:31:58 +02:00
mscharlock 51363d2e62 update to tests so it now runs 2018-09-14 15:13:54 -07:00
mscharlock 1de741110d Ok CFMapp now doesn't have errors but tests still not working 2018-09-14 15:08:55 -07:00
mscharlock 45c99bd450 making it ts 2018-09-14 14:34:54 -07:00
mscharlock 2d4a4a2b63 AHA finally fixing error 2018-09-14 14:33:57 -07:00
mscharlock 1def2646d9 renaming file 2018-09-14 14:32:50 -07:00
mscharlock 2bc6766ea5 removed office runtime 2018-09-14 14:30:08 -07:00
mscharlock e4928b84bc adding custom functions 2018-09-14 14:28:51 -07:00
Jordan Harband 461d2d5dfa revert < v9 changes, since they lack a type for the constructor itself 2018-09-14 14:25:57 -07:00
Jordan Harband 31519390e9 node: [fix] node buffers have a constructor property 2018-09-14 13:52:12 -07:00
mscharlock d9bbf7d830 Merge branch 'master' of https://github.com/mscharlock/DefinitelyTyped 2018-09-14 11:40:00 -07:00
mscharlock 3f604e91ae adding office-runtime folder 2018-09-14 11:37:46 -07:00
Sibelius Seraphini 3657f0992f feat(graphql): add deprecationReason in mutationConfig 2018-09-14 15:29:46 -03:00