From 8629c576dbc8ec5ae0b4e1411e5e629832550b7b Mon Sep 17 00:00:00 2001 From: Jeremy Wiebe Date: Thu, 12 Dec 2024 18:38:13 -0800 Subject: [PATCH] Revert @deprecated change to just deprecated --- packages/perseus/src/renderer.tsx | 1 + packages/perseus/src/validation.types.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/perseus/src/renderer.tsx b/packages/perseus/src/renderer.tsx index 09a7f7b8a0..019c2b5652 100644 --- a/packages/perseus/src/renderer.tsx +++ b/packages/perseus/src/renderer.tsx @@ -56,6 +56,7 @@ import type { Widget, WidgetProps, } from "./types"; +// eslint-disable-next-line import/no-deprecated import type {UserInputArray, UserInputMap} from "./validation.types"; import type { GetPromptJSONInterface, diff --git a/packages/perseus/src/validation.types.ts b/packages/perseus/src/validation.types.ts index 69ddeb7d22..2b3fb6d77b 100644 --- a/packages/perseus/src/validation.types.ts +++ b/packages/perseus/src/validation.types.ts @@ -331,7 +331,7 @@ export type UserInput = UserInputRegisry[keyof UserInputRegisry]; export type UserInputMap = MakeWidgetMap; /** - * @deprecated prefer using UserInputMap + * deprecated prefer using UserInputMap */ export type UserInputArray = ReadonlyArray< UserInputArray | UserInput | null | undefined