Quiz 2 Question 9 of 20

A module takes variable settings of type object({ name = string, retention_days = number, encrypted = bool }). Callers must be able to pass only name, with retention_days defaulting to 30 and encrypted defaulting to true. How should the type constraint change?

Select an answer to reveal the explanation.

Motivation