diff --git a/package.json b/package.json index a86147f48afd..0fc96537b569 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,6 @@ "@rollup/plugin-node-resolve": "13.0.0", "@rollup/plugin-replace": "2.4.2", "@types/estree": "0.0.47", - "@types/node": "15.0.1", "babel-jest": "27.0.2", "babel-loader": "8.2.2", "benchmark": "2.1.4", diff --git a/src/language-js/print/function.js b/src/language-js/print/function.js index 16d650d41882..78109891ddb0 100644 --- a/src/language-js/print/function.js +++ b/src/language-js/print/function.js @@ -2,7 +2,6 @@ /** @typedef {import("../../document/doc-builders").Doc} Doc */ -/** @type {import("assert")} */ const assert = require("assert"); const { printDanglingComments, diff --git a/src/main/comments.js b/src/main/comments.js index dc43e7ab8c4a..3547ad2de704 100644 --- a/src/main/comments.js +++ b/src/main/comments.js @@ -1,6 +1,5 @@ "use strict"; -/** @type {import("assert")} */ const assert = require("assert"); const { diff --git a/yarn.lock b/yarn.lock index da5e7f5860c3..fb97697aab16 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1630,7 +1630,7 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= -"@types/node@*", "@types/node@15.0.1": +"@types/node@*": version "15.0.1" resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.1.tgz#ef34dea0881028d11398be5bf4e856743e3dc35a" integrity sha512-TMkXt0Ck1y0KKsGr9gJtWGjttxlZnnvDtphxUOSd0bfaR6Q1jle+sPvrzNR1urqYTWMinoKvjKfXUGsumaO1PA== @@ -3196,6 +3196,7 @@ eslint-plugin-jest@24.3.6: "eslint-plugin-prettier-internal-rules@link:scripts/tools/eslint-plugin-prettier-internal-rules": version "0.0.0" + uid "" eslint-plugin-react@7.24.0: version "7.24.0"