The discriminated union type from values.map() wasn't being narrowed by .filter((info) => !info.raw), causing info.argNum to be typed as number | undefined instead of number. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Windmill Client
The SDK for the Windmill API.
import * as wmill from 'windmill-client';
await wmill.getVariable('u/foo/my_variable')