Interface: OtpClearInterface<O>
Type Parameters
| Type Parameter | Default type |
|---|---|
O extends ReferenceQueryOptionsInterface | ReferenceQueryOptionsInterface |
Methods
clear()
clear(
assignment,otp,options?):Promise<void>
Clear all otps for assign in given category.
Parameters
| Parameter | Type | Description |
|---|---|---|
assignment | string | The assignment of the repository |
otp | Pick<OtpInterface, "assignee" | "category"> | The otp to clear |
options? | O | - |
Returns
Promise<void>
Defined in
ts-common/src/otp/interfaces/otp-clear.interface.ts:16 (opens in a new tab)