commit | bfbb58f10a801fe374451297fe04a97ff7e6512a | [log] [tgz] |
---|---|---|
author | Tim van der Lippe <[email protected]> | Thu Feb 25 17:34:19 2021 |
committer | Commit Bot <[email protected]> | Thu Feb 25 17:58:29 2021 |
tree | d3bac5097b083616c29d7a28b88882526ad27ee4 | |
parent | 5f62c6f08e1b6a92086ffd5974fb2848e98fab71 [diff] [blame] |
Use import type for imports in same folder This CL is the result of applying the following regex: ``` import (.+) from '(.+)';\s+// eslint-disable-line no-unused-vars ``` and replace it with ``` import type $1 from '$2'; ``` in all `*.ts` files. Some manual cleanups are performed when there were imports that included both types and actual symbol references. [email protected] No-Presubmit: True Bug: none Change-Id: Ia520129af8518b7285c2691a15332a472515cfd3 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2720252 Commit-Queue: Tim van der Lippe <[email protected]> Reviewed-by: Paul Lewis <[email protected]>
diff --git a/front_end/console/ConsoleViewMessage.ts b/front_end/console/ConsoleViewMessage.ts index 768ca20..fa32aa5 100644 --- a/front_end/console/ConsoleViewMessage.ts +++ b/front_end/console/ConsoleViewMessage.ts
@@ -46,7 +46,7 @@ import * as ThemeSupport from '../theme_support/theme_support.js'; import * as UI from '../ui/ui.js'; -import {ConsoleViewportElement} from './ConsoleViewport.js'; // eslint-disable-line no-unused-vars +import type {ConsoleViewportElement} from './ConsoleViewport.js'; export const UIStrings = { /**