Skip to content

Commit

Permalink
fix(types): statusCode can be null
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Apr 23, 2024
1 parent 08103b4 commit be503c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .npmrc
@@ -1,5 +1,4 @@
audit=false
enable-pre-post-scripts=true
fund=false
package-lock=false
prefer-dedupe=true
Expand Down
2 changes: 1 addition & 1 deletion lightweight/index.d.ts
Expand Up @@ -142,7 +142,7 @@ type MqlStatus = "success" | "fail" | "error";
export type MqlPayload = {
status: MqlStatus;
data: MqlResponseData;
statusCode: number;
statusCode?: number;
headers: { [key: string]: string };
}

Expand Down

0 comments on commit be503c7

Please sign in to comment.