Visitar URL original
[ts] Typecheck snippets/SnippetsQuickOpen.js with TypeScript · binaryage/dirac@614e655 · GitHub
Skip to content

Commit 614e655

Browse files
and-oliCommit Bot
authored andcommitted
[ts] Typecheck snippets/SnippetsQuickOpen.js with TypeScript
Bug: chromium:1011811 Change-Id: Ieff01a3c56db086ec95e4707e1f1b74cdd6ba08a Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2497144 Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Andres Olivares <andoli@chromium.org>
1 parent 1f743ff commit 614e655

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎front_end/snippets/SnippetsQuickOpen.js‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
// @ts-nocheck
6-
// TODO(crbug.com/1011811): Enable TypeScript compiler checks
75

86
import * as Common from '../common/common.js';
97
import * as QuickOpen from '../quick_open/quick_open.js';
108
import * as Workspace from '../workspace/workspace.js'; // eslint-disable-line no-unused-vars
119

12-
import {evaluateScriptSnippet} from './ScriptSnippetFileSystem.js';
10+
import {evaluateScriptSnippet, project} from './ScriptSnippetFileSystem.js';
1311

1412
export class SnippetsQuickOpen extends QuickOpen.FilteredListWidget.Provider {
1513
constructor() {
@@ -42,7 +40,7 @@ export class SnippetsQuickOpen extends QuickOpen.FilteredListWidget.Provider {
4240
* @override
4341
*/
4442
attach() {
45-
this._snippets = Snippets.project.uiSourceCodes();
43+
this._snippets = project.uiSourceCodes();
4644
}
4745

4846
/**

0 commit comments

Comments
 (0)