No overload matches this call.
The last overload gave the following error.
Property '[LayerTypeId]' is missing in type 'Tag<Random, Random>' but required in type 'Any'.
Type 'Effect<{ getByName: (name: string) => Effect<any, Error, never>; getRandomPokemon: Effect<void, never, never>; }, never, Random>' is not assignable to type 'never'.ts(2769)
Layer.d.ts(75, 18): '[LayerTypeId]' is declared here.
Effect.d.ts(26578, 5): The last overload is declared here.
No overload matches this call.
The last overload gave the following error.
Property '[LayerTypeId]' is missing in type 'Tag<Random, Random>' but required in type 'Any'.
Type 'Effect<{ getByName: (name: string) => Effect<any, Error, never>; getRandomPokemon: Effect<void, never, never>; }, never, Random>' is not assignable to type 'never'.ts(2769)
Layer.d.ts(75, 18): '[LayerTypeId]' is declared here.
Effect.d.ts(26578, 5): The last overload is declared here.