Adding a type check on env-exports.