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`.
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`.
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.
* 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.
* 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" }`.