Skip to content

TsInfo support type literal #117

@jacketwpbb

Description

@jacketwpbb

TsInfo currently only supports interfaces and needs to support type literals.

For example, given the following type literal:
type MyString = '1' | '2' | '3';

I want to display it as follows using the TsInfo component:

type value
MyString '1' | '2' | '3'

or is there any corresponding interface for injecting a new markdown component for this purpose

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