Skip to content

Convert src/API to typescript #18

Convert src/API to typescript

Convert src/API to typescript #18

Triggered via push July 28, 2024 11:21
Status Failure
Total duration 46s
Billable time 4m
Artifacts

ci-cd.yml

on: push
install dependencies (pnpm)
11s
install dependencies (pnpm)
check linting (prettier)
13s
check linting (prettier)
check linting (eslint)
18s
check linting (eslint)
build
16s
build
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
check linting (prettier)
Process completed with exit code 1.
build: src/Client.ts#L46
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Client'.
build: src/Client.ts#L46
A rest parameter must be of an array type.
build: src/Client.ts#L48
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ getAchievements: (this: any) => Promise<any>; getAPIStatus: (options: any) => Promise<APIStatus | ({ [key: string]: any; } & Output<{ [key: string]: any; }>)>; ... 27 more ...; getHouse: (this: any, query: string) => Promise<...>; }'.
build: src/Client.ts#L51
'_makeRequest' is specified more than once, so this usage will be overwritten.
build: src/Client.ts#L72
Property 'init' does not exist on type 'typeof RateLimit'.
build: src/Client.ts#L84
Object is possibly 'undefined'.
build: src/Private/rateLimit.ts#L21
Property 'initialized' does not exist on type 'typeof RateLimit'.
build: src/Private/rateLimit.ts#L23
Property 'requestQueue' does not exist on type 'typeof RateLimit'.
build: src/Private/rateLimit.ts#L24
Property 'requestQueue' does not exist on type 'typeof RateLimit'.
build: src/Private/rateLimit.ts#L26
Property 'computeCooldownTime' does not exist on type 'typeof RateLimit'.
install dependencies (pnpm)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check linting (prettier)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check linting (eslint)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/