Skip to content

feat: add AdapterEnv interface for ambient extension #1600

feat: add AdapterEnv interface for ambient extension

feat: add AdapterEnv interface for ambient extension #1600

Triggered via pull request January 2, 2025 16:34
Status Failure
Total duration 3m 16s
Artifacts

ci.yml

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

Annotations

12 errors and 3 warnings
CI tests on node-22, ubuntu-latest
Type '(name: string) => string' is not assignable to type '<K extends AdapterEnvKey>(variable: K) => K extends never ? AdapterEnv[K] : string | undefined'.
CI tests on node-22, ubuntu-latest
Process completed with exit code 1.
CI tests on node-18, ubuntu-latest
Type '<K extends AdapterEnvKey>(variable: string) => string | undefined' is not assignable to type '<K extends AdapterEnvKey>(variable: K) => K extends never ? AdapterEnv[K] : string | undefined'.
CI tests on node-18, ubuntu-latest
Process completed with exit code 1.
CI tests on node-20, ubuntu-latest
Type '(name: string) => string' is not assignable to type '<K extends AdapterEnvKey>(variable: K) => K extends never ? AdapterEnv[K] : string | undefined'.
CI tests on node-20, ubuntu-latest
Process completed with exit code 1.
CI tests on node-20, macos-latest
Type '<K extends AdapterEnvKey>(variable: string) => string | undefined' is not assignable to type '<K extends AdapterEnvKey>(variable: K) => K extends never ? AdapterEnv[K] : string | undefined'.
CI tests on node-20, macos-latest
Type '(name: string) => string' is not assignable to type '<K extends AdapterEnvKey>(variable: K) => K extends never ? AdapterEnv[K] : string | undefined'.
CI tests on node-20, macos-latest
Process completed with exit code 1.
CI tests on node-20, windows-latest
Type '(name: string) => string' is not assignable to type '<K extends AdapterEnvKey>(variable: K) => K extends never ? AdapterEnv[K] : string | undefined'.
CI tests on node-20, windows-latest
Type '<K extends AdapterEnvKey>(variable: string) => string | undefined' is not assignable to type '<K extends AdapterEnvKey>(variable: K) => K extends never ? AdapterEnv[K] : string | undefined'.
CI tests on node-20, windows-latest
Process completed with exit code 1.
CI tests on node-22, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CI tests on node-18, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CI tests on node-20, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636