summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno_runtime.d.ts
diff options
context:
space:
mode:
authorRy Dahl <ry@tinyclouds.org>2019-11-14 15:05:36 -0500
committerGitHub <noreply@github.com>2019-11-14 15:05:36 -0500
commit4902a1cacb0348efde9ab342172f2706ac27e837 (patch)
treeabbc0dbdcc03b232d01274cea0940a377223a767 /cli/js/lib.deno_runtime.d.ts
parent8b90b8e88325d28fe41d8312ea91417b6e66a12e (diff)
Turn on TS strict mode for deno_typescript (#3330)
Diffstat (limited to 'cli/js/lib.deno_runtime.d.ts')
-rw-r--r--cli/js/lib.deno_runtime.d.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/cli/js/lib.deno_runtime.d.ts b/cli/js/lib.deno_runtime.d.ts
index 87be1c3a0..c7c403987 100644
--- a/cli/js/lib.deno_runtime.d.ts
+++ b/cli/js/lib.deno_runtime.d.ts
@@ -2858,4 +2858,10 @@ declare namespace WebAssembly {
}
}
-/* eslint-enable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any */
+// Catch-all for JSX elements.
+// See https://www.typescriptlang.org/docs/handbook/jsx.html#intrinsic-elements
+declare namespace JSX {
+ interface IntrinsicElements {
+ [elemName: string]: any;
+ }
+}