Skip to content

SDK type tests with tsd #260

@Miracle656

Description

@Miracle656

Background

Type-level regressions slip through tsc --noEmit. tsd lets us write assertions like expectType<Foo>(bar).

What to build

A test-d/ directory with assertions for the most-used SDK return types.

Key files

  • sdk/test-d/index.test-d.ts (new)
  • sdk/package.json (add tsd to scripts)

Acceptance criteria

  • 10+ type assertions
  • CI runs npm run test-d

Drips Wave · Complexity: Easy · 100 points

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions