commit | 6806877859131ddb5c463a7cecbd4b3c44c0b106 | [log] [tgz] |
---|---|---|
author | Danil Somsikov <[email protected]> | Fri Oct 11 19:42:24 2024 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 11 20:29:33 2024 |
tree | 5c0aa04392290c6d092edf27d812c89ad87415be | |
parent | dec3da24e1ef75974bf2382665ecc168f6747637 [diff] [blame] |
Use type-only import where possible. Not only this is shorter, it also allows having a side-effect import in addition to the type-only import and is properly understood by lit-analyzer. No-Presubmit: true Bug: 370734442 Change-Id: I32f0a6198e8de8175201d8ce576a63a9ce25806f Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5921081 Commit-Queue: Danil Somsikov <[email protected]> Reviewed-by: Paul Irish <[email protected]> Commit-Queue: Paul Irish <[email protected]> Auto-Submit: Danil Somsikov <[email protected]>
diff --git a/front_end/ui/legacy/View.ts b/front_end/ui/legacy/View.ts index 0d6ab5f..daef9bb 100644 --- a/front_end/ui/legacy/View.ts +++ b/front_end/ui/legacy/View.ts
@@ -4,8 +4,8 @@ import * as Platform from '../../core/platform/platform.js'; -import {type TabbedPane} from './TabbedPane.js'; -import {type ToolbarItem, type ToolbarMenuButton} from './Toolbar.js'; +import type {TabbedPane} from './TabbedPane.js'; +import type {ToolbarItem, ToolbarMenuButton} from './Toolbar.js'; import {ViewManager} from './ViewManager.js'; import {VBox, type Widget} from './Widget.js';