Skip to content

Mark internal methods as internal #507

Closed
@Christian24

Description

@Christian24

Hey,

@crutchcorn and I have been chatting about how FieldApi.getSubField is only for internal usage in tests etc and should never be part of the API developers use to develop with Tanstack form. I googled a bit and it seems that adding the JSDoc comment @internal and using this compiler option prevents TypeScript from outputting these into the type definitions. So we should create a list here of API that is not supposed to be used outside of Tanstack Form and mark it appropriately.

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