No overload matches this call.
Overload 1 of 4, '(that: Layer<unknown, unknown, unknown>): <RIn2, E2, ROut2>(self: Layer<ROut2, E2, RIn2>) => Layer<ROut2, unknown, unknown>', gave the following error.
Argument of type 'Layer<KeyValueStore, PlatformError, never>' is not assignable to parameter of type 'Layer<unknown, unknown, unknown>'.
Property '[LayerTypeId]' is missing in type 'Layer<KeyValueStore, PlatformError, never>' but required in type 'Layer<unknown, unknown, unknown>'.
Overload 2 of 4, '(that: [Any, ...Any[]]): <A, E, R>(self: Layer<A, E, R>) => Layer<A, E, Exclude<R, never>>', gave the following error.
Argument of type 'Layer<KeyValueStore, PlatformError, never>' is not assignable to parameter of type '[Any, ...Any[]]'.ts(2769)
Layer.d.ts(63, 18): '[LayerTypeId]' is declared here.
No overload matches this call.
Overload 1 of 4, '(that: Layer<unknown, unknown, unknown>): <RIn2, E2, ROut2>(self: Layer<ROut2, E2, RIn2>) => Layer<ROut2, unknown, unknown>', gave the following error.
Argument of type 'Layer<KeyValueStore, PlatformError, never>' is not assignable to parameter of type 'Layer<unknown, unknown, unknown>'.
Property '[LayerTypeId]' is missing in type 'Layer<KeyValueStore, PlatformError, never>' but required in type 'Layer<unknown, unknown, unknown>'.
Overload 2 of 4, '(that: [Any, ...Any[]]): <A, E, R>(self: Layer<A, E, R>) => Layer<A, E, Exclude<R, never>>', gave the following error.
Argument of type 'Layer<KeyValueStore, PlatformError, never>' is not assignable to parameter of type '[Any, ...Any[]]'.ts(2769)
Layer.d.ts(63, 18): '[LayerTypeId]' is declared here.