This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
Convert src/API to typescript #18
ci-cd.yml
on: push
install dependencies (pnpm)
11s
check linting (prettier)
13s
check linting (eslint)
18s
build
16s
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/
|