Skip to content

[Wave 9] Remove @ts-nocheck from the docs snippet checker #150

Description

@truthixify

Problem

scripts/check-snippets.ts prepends // @ts-nocheck and declares many globals as any. The current gate catches syntax errors but not incorrect SDK usage.

Done when

  • Replace the ambient any prelude with typed fixtures.
  • Type-check snippets against the intended public APIs.
  • Keep an explicit escape hatch only for prose fragments.
  • Add a failure fixture proving an invalid SDK call is rejected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions