* 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
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" }`.
* 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
* Lodash: `pickBy`: add overload for user defined type guards
* Lodash: generate new FP typings
* Lodash: update corresponding wrapper functions
* Lodash: generate new FP typings
* correct type for withNavigation onRef, add generic to access class methods
* tests for withNavigation class correctness
* tabbing
* remove generic, add explicit type suggestion
* 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.
* 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
* [webpack-serve] create a new subfolder with the v1
* [webpack-serve] update to version 2.0.0
* [webpack-serve] add the correct path mapping for the v1
- [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`.
* Adding a failing test for getParam
This demonstrates that typing of `navigation.getParam` works when a parameter type is provided.
This fails with the following error:
```
ERROR: 559:54 expect TypeScript@next compile error:
Argument of type '"title"' is not assignable to parameter of type '"unknown"'.
```
* Making test pass
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://node-serialport.github.io/utilities/parser-delimiter_delimiter.js.html
- [ ] 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" }`.
* Revert "[got] Allow primitive types in JSON body for POST requests (#27109)"
This reverts commit 03eede6951.
* [got] Add link to issue with json body type
* Improve comment
* Resolve bluebird(Array) method
* upgrade typescript version from bluebird-global
* move testfile
Reason: There are too many type definition files
depending on jquery and it can not be managed.
* upgrade typescript version from bluebird require packages
* fix lint error: use-default-type-parameter
* Use ComponentType rather than ComponentClass
Update grid-styled BoxProps to accept React component classes or stateless functions
* Increment version number
* Fix missed type