Issue 1:
If you know how to fix the issue, make a pull request instead.

[x ] I tried using the @types/node package and had problems.

[ x] I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript

I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).

[ x] Mention the authors (see Definitions by: in index.d.ts) so they can respond.

Authors: @jkomyno @a-tarasyuk @r3nya @BrentDouglas

If you do not mention the authors the issue will be ignored.

I'm seeing the below issue pop up now that a new package (13.13.1) was released 4 hours ago. These types seem to be a dependency for a lot of the packages that I'm using in my project. Itw as working before, but then I just did a clean build of my project and it upgraded the package.

There are many many more authors on this module - please feel free to tag the appropriate party.

ERROR in .../node_modules/@types/node/globals.d.ts(1075,15):
TS2430: Interface 'Require' incorrectly extends interface 'RequireFunction'.
Types of property 'cache' are incompatible.
Type 'Dict<NodeModule>' is not assignable to type '{ [id: string]: NodeModule; }'.
Index signatures are incompatible.
Type 'NodeModule | undefined' is not assignable to type 'NodeModule'.
Type 'undefined' is not assignable to type 'NodeModule'.

Issue 2:
I tried using the @types/xxxx package and had problems.

I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript

I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).

Mention the authors (see Definitions by: in index.d.ts) so they can respond.

Authors: @bczengel @chrootsu @stepancar

The following code:

studentSolutionGroups[index] = {
...group,
solutions: uniqBy(group.solutions),
};

Generates the following error:

TS2554: Expected 2 arguments, but got 1.
array.d.ts(1723, 54): An argument for 'iteratee' was not provided

But the iteratee should be optional.

[iteratee=_.identity] (Function): The iteratee invoked per element.

Doc: https://lodash.com/docs/4.17.15#uniqBy

index.d.ts

// Type definitions for lodash.uniqBy 4.7
// Project: https://lodash.com
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

// Generated from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/lodash/scripts/generate-modules.ts

import { uniqBy } from "lodash";
export = uniqBy;

@types/lodash/common/array.d.ts

interface LoDashStatic {
/**
* This method is like `_.uniq` except that it accepts `iteratee` which is
* invoked for each element in `array` to generate the criterion by which
* uniqueness is computed. The iteratee is invoked with one argument: (value).
*
* @category Array
* @param array The array to inspect.
* @param [iteratee=_.identity] The iteratee invoked per element.
* @returns Returns the new duplicate free array.
* @example
*
* _.uniqBy([2.1, 1.2, 2.3], Math.floor);
* // => [2.1, 1.2]
*
* // using the `_.property` iteratee shorthand
* _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
* // => [{ 'x': 1 }, { 'x': 2 }]
*/
uniqBy<T>(
array: List<T> | null | undefined,
iteratee: ValueIteratee<T>
): T[];
}