Skip to content

Commit cdbd302

Browse files
bjaspanBarry Jaspan
andauthored
Remove unnecessary import of TextDecoder from util. (#2209)
## Checklist - [ ] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [ ] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [ ] I have not broken the cheatsheet Co-authored-by: Barry Jaspan <[email protected]>
1 parent aa95401 commit cdbd302

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cursorless-vscode/src/ide/vscode/hats/VscodeHatRenderer.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import {
2424
defaultShapeAdjustments,
2525
} from "./shapeAdjustments";
2626
import { performPr1868ShapeUpdateInit } from "./performPr1868ShapeUpdateInit";
27-
import { TextDecoder } from "util";
2827

2928
const CURSORLESS_HAT_SHAPES_SUFFIX = ".svg";
3029

@@ -67,7 +66,7 @@ export default class VscodeHatRenderer {
6766
private lastSeenEnabledHatStyles: ExtendedHatStyleMap = {};
6867
private hatsDirWatcherDisposable?: vscode.Disposable;
6968
private hatShapeOverrides: Record<string, vscode.Uri> = {};
70-
private decoder: TextDecoder = new TextDecoder("utf-8");
69+
private decoder = new TextDecoder("utf-8");
7170

7271
constructor(
7372
private vscodeApi: VscodeApi,

0 commit comments

Comments
 (0)