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