2021-12-24 03:21:18 +09:00
|
|
|
{
|
2021-12-30 03:27:12 +09:00
|
|
|
"ns-template": {
|
|
|
|
"scope": "typescript",
|
|
|
|
"prefix": "template",
|
|
|
|
"body": [
|
2022-01-07 05:14:42 +09:00
|
|
|
"import { NS } from '@ns'",
|
2021-12-30 03:27:12 +09:00
|
|
|
"",
|
|
|
|
"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"
|
|
|
|
}
|
2021-12-24 03:21:18 +09:00
|
|
|
}
|