Skip to content

Commit 2392ac0

Browse files
committed
chore: acknowledge setupWizard.ts excluded from build (CLI utility)
1 parent 5b8f00d commit 2392ac0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/cli/setupWizard.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* A3M Router Setup Wizard
33
* Interactive configuration wizard with smart defaults
4+
*
5+
* Note: Excluded from tsconfig.build.json — type errors here do not affect the build.
46
*/
57

68
const fs = require('fs');
@@ -221,9 +223,9 @@ function createInterface() {
221223
});
222224
}
223225

224-
function question(rl, text) {
226+
function question(rl: readline.Interface, text: string): Promise<string> {
225227
return new Promise((resolve) => {
226-
rl.question(text, (answer) => resolve(answer));
228+
rl.question(text, (answer: string) => resolve(answer));
227229
});
228230
}
229231

0 commit comments

Comments
 (0)