Skip to content

fix: config type issue in strict mode #112

fix: config type issue in strict mode

fix: config type issue in strict mode #112

Triggered via pull request August 14, 2024 15:19
@shigmashigma
synchronize #46
lgc2333:patch-1
Status Failure
Total duration 48s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: packages/finder/src/index.ts#L27
Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.
build: packages/core/src/index.ts#L2
Cannot find module 'puppeteer-finder' or its corresponding type declarations.
build: packages/core/src/index.ts#L18
Invalid module name in augmentation, module 'puppeteer-core/lib/types' cannot be found.
build: packages/core/src/index.ts#L19
Cannot find name 'ScreenshotOptions'.
build: packages/core/src/index.ts#L23
Cannot find name 'ScreenshotOptions'.
build: packages/core/src/index.ts#L57
Property 'proxyAgent' does not exist on type 'Config'.
build: packages/screenshot/src/index.ts#L3
Cannot find module 'koishi-plugin-puppeteer' or its corresponding type declarations.
build: packages/screenshot/src/index.ts#L46
Property 'puppeteer' does not exist on type 'Context'.
build: packages/screenshot/src/index.ts#L66
Property 'puppeteer' does not exist on type 'Context'.
build
Process completed with exit code 2.