summaryrefslogtreecommitdiff
path: root/cli/js
diff options
context:
space:
mode:
authorMichaƂ Zdunek <mzdunek93@users.noreply.github.com>2020-05-09 12:22:27 +0200
committerGitHub <noreply@github.com>2020-05-09 06:22:27 -0400
commit9790399bcea36091da85799c4ed86ead6c9af92a (patch)
treee3ee9bf993eeaf4d93f0e0f148de6a2611d9880d /cli/js
parent4e5e6da348fb6c6d289426f313e564d6fd6fe242 (diff)
add option to lint and format only staged files (#5172)
Diffstat (limited to 'cli/js')
-rw-r--r--cli/js/ts_global.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/js/ts_global.d.ts b/cli/js/ts_global.d.ts
index 7b9d84c7a..bca602998 100644
--- a/cli/js/ts_global.d.ts
+++ b/cli/js/ts_global.d.ts
@@ -9,6 +9,8 @@
// deno_typescript/typescript/lib/typescript.d.ts. Ideally we could simply point
// to that in this import specifier, but "cargo package" is very strict and
// requires all files to be present in a crate's subtree.
+// to get proper editor intellisense, you can substitute "$asset$" with
+// "../../deno_typescript/typescript/lib" - remember to revert before committing
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import * as ts_ from "$asset$/typescript.d.ts";