From 995a0b11d9880f9558fe510366494e2cae993512 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Sat, 9 Oct 2021 23:07:18 -0400 Subject: [PATCH] build fix for duplicate autocomplete --- src/Terminal/commands/nano.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Terminal/commands/nano.ts b/src/Terminal/commands/nano.ts index 242c83963..f807c0140 100644 --- a/src/Terminal/commands/nano.ts +++ b/src/Terminal/commands/nano.ts @@ -24,7 +24,10 @@ export function nano( if (script == null) { let code = ""; if (filename.endsWith(".ns") || filename.endsWith(".js")) { - code = `export async function main(ns) { + code = `/** + * @param {NS} ns + * / +export async function main(ns) { }`; }