@vnodes/property
    Preparing search index...

    Function Prop

    • Examples

        \@Prop({ type: String }) value: string;
      \@Prop({ type: Number }) value: number;
      \@Prop({ type: Boolean }) value: boolean;
      \@Prop({ type: Date }) value: Date;
      \@Prop({ type: CustomObject }) value: CustomObject;
      \@Prop({ type: [String] }) value: string[];
      \@Prop({ enum: EnumClss }) value: EnumClss;
      \@Prop({ type:[EnumClss] enum: EnumClss }) value: EnumClss;

      Parameters

      • options: ApiPropertyOptions = {}
      • OptionalvalidationOptions: ValidationOptions

      Returns PropertyDecorator