Diagnostics
T210
calendar unit literal needs a timeframe or duration context
T210
Calendar units such as months need a timeframe or duration context. Add the appropriate type annotation or use the value in a typed parameter.
Failing example
script "example"
fn value(x: string = 1M) -> string { return x }Corrected example
script "fixed"
fn value(x: timeframe = 1M) -> timeframe { return x }