Skip to content

Commit

Permalink
refactor!: deprecate isBlockStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
theisel committed Sep 25, 2022
1 parent 0329730 commit c60cc04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions astro-portabletext/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ export { toPlainText } from "@portabletext/toolkit";
export { mergeComponents } from "./internal";

/**
* @deprecated Has no purpose anymore
*
* Checks if (node) is of {@link BlockStyle}
*/
export const isBlockStyle = (node: TypedObject): node is BlockStyle =>
Expand Down

0 comments on commit c60cc04

Please sign in to comment.