Fixed return type of getOperationType() after PR comment

This commit is contained in:
John Downs 2018-01-30 08:05:29 +11:00
parent 5023cd2920
commit c51630db7f

View File

@ -492,9 +492,8 @@ interface IRequest {
getBody<T>(): T;
/**
* Gets the OperationType for the request with a pre-trigger or post-trigger.
* Note: This will be one of 'Create', 'Replace', 'Upsert', or 'Delete'.
*/
getOperationType(): string;
getOperationType(): "Create" | "Replace" | "Upsert" | "Delete";
/**
* Gets a specified request header value.
* @param key the name of the header to retrieve