INamed

Interface for data objects that have human-readable names.

Description

The INamed interface is used to define data objects containing a human-readable name.

Fields

name

Object’s humand-readable name.

name: string

Examples

export class MyData implements IStringIdentifiable, INamed {
    public id: string;
    public name: string;
    public field1: string;
    public field2: number;
    ...
}