Skip to content

Enable Type Checking in JS Interface #2604

@Lms24

Description

@Lms24

Our current type definitions of the @sentry/cli JS interface are not 100% correct/adhered to and allowed for some nasty bugs to sneak in (e.g. #2062). We should enable TypeScript type checking.

I think this would be an ideal case for JS-based TypeScript type checking where we don't transpile anything or write actual TS but type check via JSDoc. Given we already use type information in JSDoc this should be a seamless transition and we get type safety for cheap.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions