Type alias ResetDecorator<Name>

ResetDecorator<Name>: {
    __meta?: ["reset", Name];
}

Resets an already set decorator to undefined.

The required Name is the name of the type decorator (its first tuple entry).

type Password = string & MinLength<6> & Excluded;

interface UserCreationPayload {
password: Password & ResetDecorator<'excluded'>
}

Type Parameters

  • Name extends string

Type declaration

  • Optional __meta?: ["reset", Name]

Generated using TypeDoc