(
{
myInt,
myString,
// We can also set defaults here directly which is nice.
myString2='def',
}: {
myInt: number;
myString?: string;
// When using this type of interface, we are still forced to explicitly
// give the type here again even though // it could in principle be deduced
// from the default.
myString2?: string;
}
)
source not stored for this graph (policy: none)