mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
Turn on TS strict mode for deno_typescript (#3330)
This commit is contained in:
parent
8b90b8e883
commit
4902a1cacb
9 changed files with 27 additions and 9 deletions
8
cli/js/lib.deno_runtime.d.ts
vendored
8
cli/js/lib.deno_runtime.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue