Skip to content

Commit 0fe90e6

Browse files
committed
update type syntax
1 parent 9ab8535 commit 0fe90e6

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

scripts/configure.mjs

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
#!/usr/bin/env node
22
// @ts-check
3+
/**
4+
* @import {
5+
* Configuration,
6+
* ConfigureParams,
7+
* FileCopy,
8+
* Manifest as RawManifest,
9+
* Platform,
10+
* PlatformConfiguration,
11+
* PlatformPackage,
12+
* } from "./types.js";
13+
*/
314
import * as nodefs from "node:fs";
415
import { createRequire } from "node:module";
516
import * as path from "node:path";
@@ -28,13 +39,7 @@ import { downloadPackage } from "./utils/npm.mjs";
2839
import { parseArgs } from "./utils/parseargs.mjs";
2940

3041
/**
31-
* @typedef {import("./types.js").Configuration} Configuration
32-
* @typedef {import("./types.js").ConfigureParams} ConfigureParams
33-
* @typedef {import("./types.js").FileCopy} FileCopy
34-
* @typedef {Required<import("./types.js").Manifest>} Manifest
35-
* @typedef {import("./types.js").PlatformConfiguration} PlatformConfiguration
36-
* @typedef {import("./types.js").PlatformPackage} PlatformPackage
37-
* @typedef {import("./types.js").Platform} Platform
42+
* @typedef {Required<RawManifest>} Manifest
3843
*/
3944

4045
/**

0 commit comments

Comments
 (0)