mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
Fixed return type of getOperationType() after PR comment
This commit is contained in:
parent
5023cd2920
commit
c51630db7f
3
types/documentdb-server/index.d.ts
vendored
3
types/documentdb-server/index.d.ts
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user