Skip to content

Commit 84459d6

Browse files
committed
fix: use atom-ide-base's TextEdit
1 parent 16c31a6 commit 84459d6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/CodeFormatManager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import type { TextEditor, TextChange, Disposable } from "atom"
33
type AggregatedTextChange = {
44
changes: Array<TextChange>
55
}
6-
import type { TextEdit } from "@atom-ide-community/nuclide-commons-atom/text-edit"
7-
import type { BusySignalService } from "atom-ide-base"
6+
import type { TextEdit, BusySignalService } from "atom-ide-base"
87
import type {
98
FileCodeFormatProvider,
109
OnSaveCodeFormatProvider,

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { TextEditor, Range, Point } from "atom"
2-
import type { TextEdit } from "@atom-ide-community/nuclide-commons-atom/text-edit"
2+
import type { TextEdit } from "atom-ide-base"
33

44
/**
55
* A brief overview of the different code formatting providers:

0 commit comments

Comments
 (0)