Skip to content

Commit 4f785f4

Browse files
hybristthePunderWoman
authored andcommitted
refactor(devtools): make release script compatible with type stripping
When running this script with node directly, it requires explicit markers for type-only imports to work.
1 parent 30e9c62 commit 4f785f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devtools/tools/release.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {input} from '@inquirer/prompts';
1111
import chalk from 'chalk';
1212
import semver from 'semver';
1313
import {writeFile, mkdir, rm, readFile} from 'node:fs/promises';
14-
import {exec as nodeExec, spawn, SpawnOptions} from 'node:child_process';
14+
import {exec as nodeExec, spawn, type SpawnOptions} from 'node:child_process';
1515
import {promisify} from 'node:util';
1616
import {join} from 'node:path';
1717

0 commit comments

Comments
 (0)