eslint: Enable @typescript-eslint/consistent-type-imports.

TypeScript type-only imports will probably become important eventually
for reducing our circular import problem.

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-03-18 16:56:46 -07:00
committed by Anders Kaseorg
parent 6364e1b5f3
commit 0d218a4b76
5 changed files with 10 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
import ErrorStackParser from "error-stack-parser";
import $ from "jquery";
import StackFrame from "stackframe";
import type StackFrame from "stackframe";
import StackTraceGPS from "stacktrace-gps";
import render_blueslip_stacktrace from "../templates/blueslip_stacktrace.hbs";

View File

@@ -1,5 +1,5 @@
import SourceMap from "source-map";
import StackFrame from "stackframe";
import type SourceMap from "source-map";
import type StackFrame from "stackframe";
declare namespace StackTraceGPS {
type StackTraceGPSOptions = {