Skip to content

Commit d3da46b

Browse files
committed
chore: fix linting errors in new test suites and lib/
1 parent 5fa9e1b commit d3da46b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

lib/adapters/REST/make-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const makeRequest = async <R>({
2929
// @ts-ignore
3030
endpoints[entityType]?.[action]
3131

32-
console.debug(endpoint)
32+
console.debug(endpoint)
3333

3434
if (endpoint === undefined) {
3535
throw new Error('Unknown endpoint')

lib/common-types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,9 @@ type MRInternal<UA extends boolean> = {
569569

570570
(opts: MROpts<'ContentType', 'get', UA>): MRReturn<'ContentType', 'get'>
571571
(opts: MROpts<'ContentType', 'getMany', UA>): MRReturn<'ContentType', 'getMany'>
572-
(opts: MROpts<'ContentType', 'getManyWithCursor', UA>): MRReturn<'ContentType', 'getManyWithCursor'>
572+
(
573+
opts: MROpts<'ContentType', 'getManyWithCursor', UA>,
574+
): MRReturn<'ContentType', 'getManyWithCursor'>
573575
(opts: MROpts<'ContentType', 'update', UA>): MRReturn<'ContentType', 'update'>
574576
(opts: MROpts<'ContentType', 'create', UA>): MRReturn<'ContentType', 'create'>
575577
(opts: MROpts<'ContentType', 'createWithId', UA>): MRReturn<'ContentType', 'createWithId'>

lib/common-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const Pages = {
8282
const PAGE_KEYS = ['prev', 'next'] as const
8383

8484
export function normalizeCursorPaginationResponse<T>(
85-
data: CursorPaginatedCollectionProp<T>
85+
data: CursorPaginatedCollectionProp<T>,
8686
): CursorPaginatedCollectionProp<T> {
8787
const pages: { prev?: string; next?: string } = {}
8888

0 commit comments

Comments
 (0)