From c0941671ca01ec28283be897ff7a88492f38ee9e Mon Sep 17 00:00:00 2001 From: Denis Bezrukov Date: Wed, 7 Sep 2022 18:12:10 +0300 Subject: [PATCH] feat(rome_js_formatter): TS Intersection & Union types #3162 format vscode --- editors/vscode/src/utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editors/vscode/src/utils.ts b/editors/vscode/src/utils.ts index 1c5c7d9be13..11d36dd480d 100644 --- a/editors/vscode/src/utils.ts +++ b/editors/vscode/src/utils.ts @@ -2,9 +2,9 @@ import { commands, TextDocument, TextEditor } from "vscode"; const SUPPORTED_LANGUAGES = new Set(["javascript", "typescript"]); -export type RomeDocument = - & TextDocument - & { languageId: keyof typeof SUPPORTED_LANGUAGES }; +export type RomeDocument = TextDocument & { + languageId: keyof typeof SUPPORTED_LANGUAGES; +}; export type RomeEditor = TextEditor & { document: RomeDocument }; /** Sets ['when'](https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts) clause contexts */