Skip to content

feat: refactor with typescript #200

feat: refactor with typescript

feat: refactor with typescript #200

Triggered via pull request September 17, 2023 14:10
@fengmk2fengmk2
synchronize #12
ts-refactor
Status Failure
Total duration 1m 4s
Artifacts

nodejs.yml

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

Annotations

21 errors and 3 warnings
build (16, ubuntu-latest): src/OSSObject.ts#L1
Cannot find name 'fs'.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Type 'string | null' is not assignable to type 'string | undefined'.
build (16, ubuntu-latest): src/OSSObject.ts#L1
'mime' refers to a UMD global, but the current file is a module. Consider adding an import instead.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Cannot find name 'path'.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Property 'contentLength' does not exist on type 'PutObjectOptions'.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Property '_getFileSize' does not exist on type 'OSSObject'.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Cannot find name 'fs'.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Parameter 'objectName' implicitly has an 'any' type.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Parameter 'makeStream' implicitly has an 'any' type.
build (16, ubuntu-latest): src/OSSObject.ts#L1
Parameter 'configOption' implicitly has an 'any' type.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Cannot find name 'fs'.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Type 'string | null' is not assignable to type 'string | undefined'.
build (18, ubuntu-latest): src/OSSObject.ts#L1
'mime' refers to a UMD global, but the current file is a module. Consider adding an import instead.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Cannot find name 'path'.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Property 'contentLength' does not exist on type 'PutObjectOptions'.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Property '_getFileSize' does not exist on type 'OSSObject'.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Cannot find name 'fs'.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Parameter 'objectName' implicitly has an 'any' type.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Parameter 'makeStream' implicitly has an 'any' type.
build (18, ubuntu-latest): src/OSSObject.ts#L1
Parameter 'configOption' implicitly has an 'any' type.
build (20, ubuntu-latest)
Process completed with exit code 1.
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 (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 (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/