about summary refs log tree commit diff
path: root/editors/code/src/debug.ts
diff options
context:
space:
mode:
authorTetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com>2023-07-11 06:10:00 +0900
committerTetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com>2023-07-11 06:12:00 +0900
commit445b4fc27f81212ccfab85890f3196517e85ecb3 (patch)
tree7d9156c4a53b264ea9212be1bf2ed9f0086b3a26 /editors/code/src/debug.ts
parent6f2e8aaba63a9f480c5fd2538fd02290821e4389 (diff)
downloadrust-445b4fc27f81212ccfab85890f3196517e85ecb3.tar.gz
rust-445b4fc27f81212ccfab85890f3196517e85ecb3.zip
editor/code: Sort the style to import types
see:
- https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-imports.md
- https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-import-type-side-effects.md
Diffstat (limited to 'editors/code/src/debug.ts')
-rw-r--r--editors/code/src/debug.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts
index 29758feafe4..484f547230f 100644
--- a/editors/code/src/debug.ts
+++ b/editors/code/src/debug.ts
@@ -1,10 +1,10 @@
 import * as os from "os";
 import * as vscode from "vscode";
 import * as path from "path";
-import * as ra from "./lsp_ext";
+import type * as ra from "./lsp_ext";
 
 import { Cargo, getRustcId, getSysroot } from "./toolchain";
-import { Ctx } from "./ctx";
+import type { Ctx } from "./ctx";
 import { prepareEnv } from "./run";
 import { unwrapUndefinable } from "./undefinable";