Skip to content

Commit

Permalink
Stringify Role enum
Browse files Browse the repository at this point in the history
  • Loading branch information
kudlajz committed Jun 6, 2023
1 parent bd0f38a commit e022bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/content-format/src/nodes/HeadingNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ComposedElement } from '../ComposedElement';
import type { Node } from '../Node';

export interface HeadingNode<Child extends Node> extends ComposedElement<`${HeadingNode.Type}`, Child> {
role?: HeadingNode.Role;
role?: `${HeadingNode.Role}`;
}

export namespace HeadingNode {
Expand Down

0 comments on commit e022bfa

Please sign in to comment.