From 45014b29608d4edc5b394e35a6d9626192a57008 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Sun, 5 May 2024 12:26:05 +0200 Subject: [PATCH] refactor helper-types --- biome.json | 2 +- src/UmbracoRichText.tsx | 2 +- src/{types/helpers.d.ts => utils/helper-types.ts} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{types/helpers.d.ts => utils/helper-types.ts} (100%) diff --git a/biome.json b/biome.json index c05fd37..f93e94c 100644 --- a/biome.json +++ b/biome.json @@ -19,7 +19,7 @@ }, "linter": { "enabled": true, - "ignore": ["src/types/**"], + "ignore": ["src/utils/helper-types.ts"], "rules": { "recommended": true, "complexity": { diff --git a/src/UmbracoRichText.tsx b/src/UmbracoRichText.tsx index eebf2a1..44abdd1 100644 --- a/src/UmbracoRichText.tsx +++ b/src/UmbracoRichText.tsx @@ -1,6 +1,6 @@ import { decode } from "html-entities"; import React from "react"; -import type { Overwrite } from "./types/helpers"; +import type { Overwrite } from "./utils/helper-types"; import { parseStyle } from "./utils/parse-style"; interface BaseBlockItemModel { diff --git a/src/types/helpers.d.ts b/src/utils/helper-types.ts similarity index 100% rename from src/types/helpers.d.ts rename to src/utils/helper-types.ts