diff --git a/build.js b/build.js index b1a2e59..8a9482f 100644 --- a/build.js +++ b/build.js @@ -67,7 +67,7 @@ const processRepo = () => { // 139 KB file code += ` -export const ${pascalName}: React.ForwardRefExoticComponent & React.RefAttributes<${component}>> = React.forwardRef<${component}, ${props}>((props, ref) => { +export const ${pascalName}: React.ForwardRefExoticComponent & React.RefAttributes<${component}>> = /* @__PURE__ */ React.forwardRef<${component}, ${props}>((props, ref) => { return ( ${processed} ) diff --git a/package-lock.json b/package-lock.json index 3003b99..0f8b114 100644 --- a/package-lock.json +++ b/package-lock.json @@ -82,9 +82,9 @@ "dev": true }, "typescript": { - "version": "3.8.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz", - "integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==", + "version": "4.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz", + "integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==", "dev": true } } diff --git a/package.json b/package.json index 79bfe9b..a5803b8 100644 --- a/package.json +++ b/package.json @@ -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" } }