Skip to content

1 code sample in your docs no longer compiles #784

Description

@David19876543210

I ran snippetcheck against the upstash-redis docs — it type-checks every TypeScript sample in a docs site against the package's own published declarations, nothing executed.

Against @upstash/redis@1.38.2, 1 finding marked included after review:

Kind Symbol Section Page
wrong-arity (no symbol) ZCARD > Examples https://upstash.com/docs/redis/commands/sorted-set/zcard

Method: type-checked against the package's own .d.ts declarations, nothing executed. 81 of 1584 extracted TypeScript samples checked. Skipped: 29 before-example, 12 historical-section, 394 no-target-import, 23 unsupported-language, 1 unresolved-import, 1 unparseable.

Happy to share the full report, or re-run this after your next release.

— David

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions