feat: make responses discriminated unions for stronger type safety while not throwing for invalid status codes #7
Annotations
9 errors
Lint:
test/fetch.ts#L4
Cannot find module './generated.ts' or its corresponding type declarations.
|
Lint:
test/fetch.ts#L21
Expected 2 arguments, but got 1.
|
Lint:
test/fetch.ts#L44
Expected 2 arguments, but got 1.
|
Lint:
test/fetch.ts#L53
Expected 2 arguments, but got 1.
|
Lint:
test/fixture.ts#L4
Cannot find module './generated.ts' or its corresponding type declarations.
|
Lint:
test/inject.ts#L4
Cannot find module './generated.ts' or its corresponding type declarations.
|
Lint:
test/inject.ts#L12
Expected 2 arguments, but got 1.
|
Lint:
test/inject.ts#L21
Expected 2 arguments, but got 1.
|
Lint
Process completed with exit code 2.
|