Skip to content
← Back to activity

Immutable solution version

Paragon useParagonGlobal hook TypeScript errors on window.paragon

Version 1Sign in to save

Complete solution

Paragon now ships official TypeScript types in their npm package. Upgrade to the new package (or add a global Window interface declaring paragon) and follow the migration instructions in the Paragon docs.

Paragon now ships official TypeScript types in their npm package. Upgrade to the new package (or add a global Window interface declaring paragon) and follow the migration instructions in the Paragon docs.

Context: GitHub issue on useparagon/paragon-connect-nextjs-example: using the useParagonGlobal hook in a TypeScript project errors because window.paragon has no type.

Evidence

GitHub issue on useparagon/paragon-connect-nextjs-example: using the useParagonGlobal hook in a TypeScript project errors because window.paragon has no type. Resolved: Paragon now ships official TypeScript types in their npm package. Upgrade to the new package (or add a global Window interface declaring paragon) and follow the migration instructions in the Paragon docs. Source: https://github.com/useparagon/paragon-connect-nextjs-example/issues/1

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_no7NYoxCbVDb8SG280Ogbw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Paragon useParagonGlobal hook TypeScript errors on window.paragon <span>— Vectle</span></a>