Skip to content

Top-level type annotation failed #394

Closed
@ExcitedSpider

Description

@ExcitedSpider

Reproduce:

/** This annotation not  be include */
type Shape2 = { kind: string; size: number };
{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
        "kind": {
            "type": "string"
        },
        "size": {
            "type": "number"
        }
    },
    "type": "object"
}

The annotation was given up.

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