(for speed, OXC/tsdown support), then you'll likely see this error:
RollupError: TS9010: Variable must have an explicit type annotation with --isolatedDeclarations. x TS9010: Variable must have an explicit type annotation with | --isolatedDeclarations. ,-[/Users/eric/Projects/testdriverai/monorepo/packages/sdk/src/types.ts:7:14] 6 | 7 | export const $ = type.scope({
RollupError: TS9010: Variable must have an explicit type annotation with --isolatedDeclarations. x TS9010: Variable must have an explicit type annotation with | --isolatedDeclarations. ,-[/Users/eric/Projects/testdriverai/monorepo/packages/sdk/src/types.ts:7:14] 6 | 7 | export const $ = type.scope({
Is there a way to explicitly provide a return type annotation without redeclaring the whole thing?