mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
editor/code: Enable TypeScript's --useUnknownInCatchVariables
option
see: https://www.typescriptlang.org/tsconfig#useUnknownInCatchVariables
This commit is contained in:
parent
a66b7e3eba
commit
444bc5b3ba
3 changed files with 5 additions and 3 deletions
|
@ -373,7 +373,7 @@ export function ssr(ctx: CtxInit): Cmd {
|
|||
selections,
|
||||
});
|
||||
} catch (e) {
|
||||
return e.toString();
|
||||
return String(e);
|
||||
}
|
||||
return null;
|
||||
},
|
||||
|
@ -1156,7 +1156,7 @@ export function viewMemoryLayout(ctx: CtxInit): Cmd {
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<style>
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue