microsoft / dtslint

A utility built on TSLint for linting TypeScript declaration (.d.ts) files.
MIT License
925 stars 86 forks source link

Update node types #327

Closed orta closed 3 years ago

orta commented 3 years ago

There's churn on the npm package-lock because it's jumping between v1 and v2 (e.g. someone else is using npm 7 and I'm using npm6 ) it doesn't really matter too much

This repo's master branch CI is failing because the 12 branch of node doesn't have Serializable in a way it used to

https://github.com/microsoft/dtslint/commits/master

node_modules/@definitelytyped/utils/dist/process.d.ts:2:10 - error TS2305: Module '"child_process"' has no exported member 'Serializable'.

2 import { Serializable } from "child_process";
           ~~~~~~~~~~~~

Updating to node 14 fixed it, seems reasonable enough - 14 is the current LTS version of node.

--

Also sneaks in a package bump to deploy #321