Skip to content

Export SerializerOptions #4

@fastfedora

Description

@fastfedora

I'm new to learning TypeScript, but it seems like I can't use this library because it doesn't export SerializerOptions.

If I try to pass {} when creating a Serializer, I get Argument of type '{}' is not assignable to parameter of type 'SerializerOptions'. If I try to type {}, I get Cannot find name 'SerializerOptions'.

Am I missing something? It seems like SerializerOptions needs to be exported in index.ts (or in serializer.ts) so I can import it as a type and use it when I'm using the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions