1 parent 5b8f00d commit 2392ac0Copy full SHA for 2392ac0
1 file changed
src/cli/setupWizard.ts
@@ -1,6 +1,8 @@
1
/**
2
* A3M Router Setup Wizard
3
* Interactive configuration wizard with smart defaults
4
+ *
5
+ * Note: Excluded from tsconfig.build.json — type errors here do not affect the build.
6
*/
7
8
const fs = require('fs');
@@ -221,9 +223,9 @@ function createInterface() {
221
223
});
222
224
}
225
-function question(rl, text) {
226
+function question(rl: readline.Interface, text: string): Promise<string> {
227
return new Promise((resolve) => {
- rl.question(text, (answer) => resolve(answer));
228
+ rl.question(text, (answer: string) => resolve(answer));
229
230
231
0 commit comments