3 ms·
> but somehow not: const z: Thing[] = [exprA, exprB]; Doesn't const z = [exprA, exprB] as const; type GnarlyThingTuple = typeof z; or something like
by azangru 5y ago
> but somehow not: const z: Thing[] = [exprA, exprB];
Doesn't
const z = [exprA, exprB] as const;
type GnarlyThingTuple = typeof z;
or something like this help?