Skip to content

Commit

Permalink
fix: export iedEdit and isEditV2
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobVogelsang committed Oct 27, 2024
1 parent 7d5f002 commit 3e7c11f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion editv1.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ describe("type guard functions for editv1", () => {
expect([update, remove, insert]).to.satisfy(isEdit));

it("returns false on editV2 array", () =>
expect([setAttributes, remove, insert, setTextContent]).to.not.satisfy(isEdit));
expect([setAttributes, remove, insert, setTextContent]).to.not.satisfy(
isEdit,
));
});
3 changes: 2 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ export {
SetAttributes,
SetTextContent,
isComplex,
isEditV2,
isInsert,
isRemove,
isSetAttributes,
isSetTextContent,
} from "./editv2.js";

export { Edit, Update } from "./editv1.js";
export { Edit, Update, isEdit } from "./editv1.js";

export { handleEdit } from "./handleEdit.js";

Expand Down

0 comments on commit 3e7c11f

Please sign in to comment.