Skip to content

Commit 80633b5

Browse files
Fix type error
1 parent 4f43842 commit 80633b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/shared/renderNodes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function convertNodesWithConfig(
6464
export function renderNodeWithRoot(
6565
nodes: IconNode[],
6666
[rootTag, rootProps, rootChildren]: IconNode,
67-
options: ProIconsOptions
67+
options?: ProIconsOptions
6868
): string {
6969
const size = options.size?.toString() ?? rootProps.size.toString()
7070
const root: IconNode = [

0 commit comments

Comments
 (0)