From 17f075d01d352f373b2a7cab023a81b0686cfe73 Mon Sep 17 00:00:00 2001 From: Damien Daspit Date: Fri, 1 Nov 2024 23:54:43 -0500 Subject: [PATCH] Remove duplicate TextEdit --- packages/core/src/diagnostic/diagnostic-fix.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/core/src/diagnostic/diagnostic-fix.ts b/packages/core/src/diagnostic/diagnostic-fix.ts index bc98178..a6cfb6a 100644 --- a/packages/core/src/diagnostic/diagnostic-fix.ts +++ b/packages/core/src/diagnostic/diagnostic-fix.ts @@ -1,11 +1,6 @@ -import { Range } from '../common/range'; +import { TextEdit } from '../common/text-edit'; import { Diagnostic } from './diagnostic'; -export interface TextEdit { - range: Range; - newText: string; -} - export interface DiagnosticFix { title: string; diagnostic: Diagnostic;