Skip to content

Add spin-lock.d.ts so platform typecheck resolves the JS module - #15

Merged
WERSIT35 merged 1 commit into
mainfrom
feat/mobile-rgs-animation-polish
Jun 22, 2026
Merged

Add spin-lock.d.ts so platform typecheck resolves the JS module#15
WERSIT35 merged 1 commit into
mainfrom
feat/mobile-rgs-animation-polish

Conversation

@WERSIT35

Copy link
Copy Markdown
Owner

The Vitest suite imports the plain-JS client/engine/spin-lock.js; with no allowJs in the typecheck config, tsc reported TS7016 (implicit any). Add a type-only declaration alongside the JS describing createSpinLock/PHASE so npm run typecheck passes. No runtime impact.

The Vitest suite imports the plain-JS client/engine/spin-lock.js; with no
allowJs in the typecheck config, tsc reported TS7016 (implicit any). Add a
type-only declaration alongside the JS describing createSpinLock/PHASE so
`npm run typecheck` passes. No runtime impact.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
provider Ready Ready Preview, Comment Jun 22, 2026 6:16pm

@WERSIT35
WERSIT35 merged commit dfe9bda into main Jun 22, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant