Skip to content

Commit bde331d

Browse files
authored
[eas-cli] Fix managed tvOS env typecheck (#3920)
## Summary - fix main typecheck after `Env` was widened to allow undefined values - align `getManagedTvBuildSettings` with the shared `Env` type instead of requiring `Record<string, string>` ## Test plan CI should pass.
1 parent fd055f0 commit bde331d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/eas-cli/src/project/ios/target.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const AppExtensionsConfigSchema = Joi.array().items(
5353
* defaulting to IOS.
5454
*/
5555
export function getManagedTvBuildSettings(
56-
env: Record<string, string> | undefined
56+
env: Env | undefined
5757
): Target['buildSettings'] | undefined {
5858
const expoTv = (env?.EXPO_TV ?? process.env.EXPO_TV ?? '').toString().toLowerCase();
5959
if (expoTv === '1' || expoTv === 'true' || expoTv === 'yes') {

0 commit comments

Comments
 (0)