24 lines
591 B
Plaintext
24 lines
591 B
Plaintext
{
|
|
"ns-template": {
|
|
"scope": "typescript",
|
|
"prefix": "template",
|
|
"body": [
|
|
"import { NS } from '../NetscriptDefinitions'",
|
|
"",
|
|
"export async function main(ns : NS) : Promise<void> {",
|
|
"\t//",
|
|
"}"
|
|
]
|
|
},
|
|
"autocomplete": {
|
|
"scope": "typescript",
|
|
"prefix": "autocomplete",
|
|
"body": [
|
|
"// eslint-disable-next-line @typescript-eslint/no-unused-vars",
|
|
"export function autocomplete(data : ServerData, args : string[]) : string[] {",
|
|
"\treturn [...data.servers]",
|
|
"}"
|
|
],
|
|
"description": "autocomplete"
|
|
}
|
|
} |