diff --git a/.vscode/snippets.code-snippets b/.vscode/snippets.code-snippets index a31bcf7..0103319 100644 --- a/.vscode/snippets.code-snippets +++ b/.vscode/snippets.code-snippets @@ -3,7 +3,7 @@ "scope": "typescript", "prefix" : ["template"], "body": [ - "import { NS } from \"../bitburner/src/ScriptEditor/NetscriptDefinitions\";", + "import { NS } from \"../NetscriptDefinitions\";", "", "export async function main(ns : NS) : Promise {", "\t", diff --git a/package.json b/package.json index 675fb8e..b7ade2e 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "bitburner-scripts", + "name": "bitburner-typescript-template", "version": "1.0.0", "description": "", "main": "index.js", diff --git a/updateDefs.js b/updateDefs.js index bb3fbd6..2dd9a77 100644 --- a/updateDefs.js +++ b/updateDefs.js @@ -1,4 +1,4 @@ -const https = require("https"); +const https = require("https") const fs = require("fs") const url = 'https://raw.githubusercontent.com/danielyxie/bitburner/dev/src/ScriptEditor/NetscriptDefinitions.d.ts'