Skip to content

Fix implicit / explicit “any” usage in our types. #357

@theengineear

Description

@theengineear

We added just enough integration to TypeScript with JSDoc to enable us to export a type interface. However, we’ve been using a very lenient version of TS. This becomes apparent as the strictness defaults change from TS 5.x to 6.x.

If it’s not too much of a lift, it would be good to fix this up at some point — seeing a tsconfig file with like "noImplicitAny": false will probably come off as a bit of a warning flag to onlookers.

For context, we were only specific about the types in the public interface, but there’s probably no reason to not simply declare that stuff on the internal interfaces as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions