Skip to content

Commit

Permalink
type: fix type error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 24, 2024
1 parent bd803a1 commit c6965f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nodes/header.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export function header(options: Option = {}): Element {
{
type: 'element',
tagName: 'span',
properties: {},
children: [
{
type: 'text',
Expand All @@ -74,6 +75,7 @@ export function header(options: Option = {}): Element {
{
type: 'element',
tagName: 'span',
properties: {},
children: [
{
type: 'text',
Expand Down
1 change: 1 addition & 0 deletions src/utils/homeCardIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export function homeCardIcons(
const labelNode: Element = {
type: 'element',
tagName: 'span',
properties: {},
children: child.children,
};
const title = getCodeString(child.children);
Expand Down

0 comments on commit c6965f7

Please sign in to comment.