Skip to content

Support TypeScript types #666

@avivkeller

Description

@avivkeller

Currently, doc-kit treats types in the format of {Type}. Maybe we support additional formats, such as:

  • {Generic<Type>} (Complex: Transformer<T, Awaitable<U>>)
  • {() => Type} (Complex: (str: MyType) => Promise<T>)

Perhaps Generics like Transformer<T, Awaitable<U>> and (str: MyType) => Promise<T> are too extreme, but we really need to support basic Generic<Type>

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