feat: add AdapterEnv
interface for ambient extension
#1600
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
|