Skip to content

Commit

Permalink
add pure comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmith committed Sep 9, 2022
1 parent 7ff3f5e commit 4a1a94c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const processRepo = () => {
// 139 KB file
code +=
`
export const ${pascalName}: React.ForwardRefExoticComponent<React.PropsWithoutRef<${props}> & React.RefAttributes<${component}>> = React.forwardRef<${component}, ${props}>((props, ref) => {
export const ${pascalName}: React.ForwardRefExoticComponent<React.PropsWithoutRef<${props}> & React.RefAttributes<${component}>> = /* @__PURE__ */ React.forwardRef<${component}, ${props}>((props, ref) => {
return (
${processed}
)
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"@types/react": "^16.9.35",
"prettier": "^2.2.1",
"react": "^16.13.1",
"typescript": "^3.8.3"
"typescript": "^4.8.3"
}
}

0 comments on commit 4a1a94c

Please sign in to comment.