Skip to content

Not working in windows #36

@shubham49

Description

@shubham49

Not able to create correct schema of the types.
type file: test.ts
export type test = {
a: string;
}

validator generated by npx typescript-json-validator --id test --collection test.ts
export const Schema = {
$id: 'test',
$schema: 'http://json-schema.org/draft-07/schema#',
definitions: {},
};

tried npx cross-env typescript-json-validator --id test --collection test.ts as well but no luck

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