Skip to content

Fix TypeScript compiler error in prism-include-languages#98

Open
nsmnds wants to merge 1 commit intomainfrom
fix/typescript-prism-include-languages
Open

Fix TypeScript compiler error in prism-include-languages#98
nsmnds wants to merge 1 commit intomainfrom
fix/typescript-prism-include-languages

Conversation

@nsmnds
Copy link
Collaborator

@nsmnds nsmnds commented Feb 8, 2026

Summary

  • Replace Optional<typeof globalThis, "Prism"> with Record<string, unknown> to fix TS2344 error
  • Remove unused utility-types import
  • Runtime behavior is unchanged

Test plan

  • npx tsc --noEmit passes with zero errors

🤖 Generated with Claude Code

Replace `Optional<typeof globalThis, "Prism">` with `Record<string, unknown>`
to fix TS2344 error since "Prism" is not a recognized key of `globalThis`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants