Skip to content

Commit 1e994fb

Browse files
committed
-
1 parent 72e935c commit 1e994fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/createTypesPackages.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const go = async () => {
151151
async function updatePackageJSON(pkg, packagePath) {
152152
const pkgJSONPath = new URL("package.json", packagePath);
153153
const packageText = fs.readFileSync(pkgJSONPath, "utf8");
154-
/** @type {import("./template/package.json")} */
154+
/** @type {typeof import("./template/package.json")} */
155155
const packageJSON = JSON.parse(packageText);
156156
packageJSON.name = pkg.name;
157157
packageJSON.description = pkg.description;
@@ -196,7 +196,7 @@ async function updatePackageJSON(pkg, packagePath) {
196196
/**
197197
* Copies the README and adds some rudimentary templating to the file.
198198
* @param {Package} pkg
199-
* @param {import("./template/package.json")} pkgJSON
199+
* @param {typeof import("./template/package.json")} pkgJSON
200200
* @param {URL} writePath
201201
*/
202202
function copyREADME(pkg, pkgJSON, writePath) {

0 commit comments

Comments
 (0)