Skip to content

feat: refactor with typescript #207

feat: refactor with typescript

feat: refactor with typescript #207

Triggered via pull request September 18, 2023 06:02
@fengmk2fengmk2
synchronize #12
ts-refactor
Status Failure
Total duration 47s
Artifacts

nodejs.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 3 warnings
build (18, ubuntu-latest): src/OSSObject.ts#L1
'"oss-interface"' has no exported member named 'DeleteObjectOptions'. Did you mean 'GetObjectOptions'?
build (18, ubuntu-latest): src/OSSObject.ts#L1
'"oss-interface"' has no exported member named 'DeleteObjectResult'. Did you mean 'GetObjectResult'?
build (18, ubuntu-latest): src/OSSObject.ts#L1
Property 'timeout' does not exist on type 'DeleteMultipleObjectOptions'.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Property 'versionId' does not exist on type 'DeleteMultipleObjectOptions'.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Property 'versionId' does not exist on type 'DeleteMultipleObjectOptions'.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Argument of type 'object' is not assignable to parameter of type 'IncomingHttpHeaders'.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Element implicitly has an 'any' type because expression of type '"x-oss-callback"' can't be used to index type '{}'.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Argument of type 'PutObjectOptions' is not assignable to parameter of type 'Pick<OSSRequestParams, "timeout" | "subResource" | "headers">'.
build (18, ubuntu-latest)
Process completed with exit code 1.
build (16, ubuntu-latest): src/OSSObject.ts#L1
'"oss-interface"' has no exported member named 'DeleteObjectOptions'. Did you mean 'GetObjectOptions'?
build (16, ubuntu-latest): src/OSSObject.ts#L1
'"oss-interface"' has no exported member named 'DeleteObjectResult'. Did you mean 'GetObjectResult'?
build (16, ubuntu-latest): src/OSSObject.ts#L1
Property 'timeout' does not exist on type 'DeleteMultipleObjectOptions'.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Property 'versionId' does not exist on type 'DeleteMultipleObjectOptions'.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Property 'versionId' does not exist on type 'DeleteMultipleObjectOptions'.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Argument of type 'object' is not assignable to parameter of type 'IncomingHttpHeaders'.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Element implicitly has an 'any' type because expression of type '"x-oss-callback"' can't be used to index type '{}'.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Argument of type 'PutObjectOptions' is not assignable to parameter of type 'Pick<OSSRequestParams, "timeout" | "subResource" | "headers">'.
build (16, ubuntu-latest)
Process completed with exit code 1.
build (20, ubuntu-latest)
Process completed with exit code 1.
build (18, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (16, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (20, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/