Skip to content

Commit

Permalink
Fix typing / linting issues in @orbit/integration-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dgeb committed Sep 25, 2020
1 parent d06d491 commit 8d3c271
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/@orbit/integration-tests/test/support/jsonapi.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Orbit } from '@orbit/core';

export function jsonapiResponse(
_options: any,
body?: any,
_options: unknown,
body?: unknown,
timeout?: number
): Promise<Response> {
let options: any;
Expand Down Expand Up @@ -38,7 +38,7 @@ export function jsonapiResponse(
}
}

function statusText(code: number): string {
function statusText(code: number): string | undefined {
switch (code) {
case 200:
return 'OK';
Expand Down

0 comments on commit 8d3c271

Please sign in to comment.