Skip to content

Add static typings to ObjectTypeDefinitions #2

@T99

Description

@T99

For this static type:

type MyType = {
    name: string;
    date: number;
};

With this object type definition:

let otd: ObjectTypeDefinition<MyType> = new ObjectTypeDefinition<MyType>({
    name: StandardType.STRING,
    date: StandardType.NUMBER
});

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions