From 45583fde112f80c06ba6ad5583b744ef22d0640a Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Sun, 8 Jan 2023 17:33:44 +0000 Subject: [PATCH] fix prettier --- lib/compile/jtd/types.ts | 2 +- lib/compile/rules.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compile/jtd/types.ts b/lib/compile/jtd/types.ts index 7f3619576..1258050fd 100644 --- a/lib/compile/jtd/types.ts +++ b/lib/compile/jtd/types.ts @@ -13,4 +13,4 @@ export const jtdForms = [ "ref", ] as const -export type JTDForm = typeof jtdForms[number] +export type JTDForm = (typeof jtdForms)[number] diff --git a/lib/compile/rules.ts b/lib/compile/rules.ts index ea65074f9..7dbf7ab9e 100644 --- a/lib/compile/rules.ts +++ b/lib/compile/rules.ts @@ -2,7 +2,7 @@ import type {AddedKeywordDefinition} from "../types" const _jsonTypes = ["string", "number", "integer", "boolean", "null", "object", "array"] as const -export type JSONType = typeof _jsonTypes[number] +export type JSONType = (typeof _jsonTypes)[number] const jsonTypes: Set = new Set(_jsonTypes)