Skip to content

Commit

Permalink
Revert @deprecated change to just deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremywiebe committed Dec 16, 2024
1 parent c0a3788 commit 8629c57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/perseus/src/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/perseus/src/validation.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export type UserInput = UserInputRegisry[keyof UserInputRegisry];
export type UserInputMap = MakeWidgetMap<UserInputRegisry>;

/**
* @deprecated prefer using UserInputMap
* deprecated prefer using UserInputMap
*/
export type UserInputArray = ReadonlyArray<
UserInputArray | UserInput | null | undefined
Expand Down

0 comments on commit 8629c57

Please sign in to comment.