Magek Framework
    Preparing search index...

    Function field

    • @field() decorator for explicit type declaration

      Uses TC39 Stage 3 decorators.

      Usage: @field() - Simple type @field(type => String) - Explicit type @field(type => [String]) - Array type @field({ nullable: true }) - With options @field(type => String, { nullable: true }) - Type with options

      Returns Stage3FieldDecorator

    • @field() decorator for explicit type declaration

      Uses TC39 Stage 3 decorators.

      Usage: @field() - Simple type @field(type => String) - Explicit type @field(type => [String]) - Array type @field({ nullable: true }) - With options @field(type => String, { nullable: true }) - Type with options

      Parameters

      Returns Stage3FieldDecorator

    • @field() decorator for explicit type declaration

      Uses TC39 Stage 3 decorators.

      Usage: @field() - Simple type @field(type => String) - Explicit type @field(type => [String]) - Array type @field({ nullable: true }) - With options @field(type => String, { nullable: true }) - Type with options

      Parameters

      Returns Stage3FieldDecorator

    • @field() decorator for explicit type declaration

      Uses TC39 Stage 3 decorators.

      Usage: @field() - Simple type @field(type => String) - Explicit type @field(type => [String]) - Array type @field({ nullable: true }) - With options @field(type => String, { nullable: true }) - Type with options

      Parameters

      Returns Stage3FieldDecorator