Fix any type usage in proprietary/ (#5949)

# Description of Changes
Follow on from #5934, expanding `any` type usage ban to the
`proprietary/` folder
This commit is contained in:
James Brunton
2026-04-01 08:21:26 +00:00
committed by GitHub
parent a96b95e198
commit c31e4253dd
34 changed files with 341 additions and 266 deletions
@@ -14,7 +14,7 @@ export const useLicensePolling = (
const pollForLicenseKey = useCallback(async (installId: string) => {
// Use shared polling utility
const result = await pollLicenseKeyWithBackoff(installId, {
isMounted: () => isMountedRef.current!,
isMounted: () => isMountedRef.current ?? false,
onStatusChange: setPollingStatus,
});
@@ -23,7 +23,7 @@ export const useLicensePolling = (
// Activate the license key
const activation = await activateLicenseKey(result.licenseKey, {
isMounted: () => isMountedRef.current!,
isMounted: () => isMountedRef.current ?? false,
onActivated: onLicenseActivated,
});