I'm having some issues with type narrowing values of an implementation of a type. Something like```ts
type Adapter = {
foo: any
}
const bar: Adapter = {
foo: 123
} as const;
console.log(bar.foo)
// ^? -> typed as any but want it to be number
Full code is on TS-playground, with `TODO`s for where there's this issue (towards the bottom): https://tsplay.dev/Nry71w
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
