From 96ade2370e1ddfdbfba112b657dd6160d58fee44 Mon Sep 17 00:00:00 2001 From: Cyn Date: Thu, 23 Dec 2021 13:39:59 -0500 Subject: [PATCH] Clean up typos --- .vscode/snippets.code-snippets | 2 +- package.json | 2 +- updateDefs.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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'