Preview:```ts
interface A {
a: string | null
}
type AWithAAsString = Omit<A, "a"> & {a: string}
const theFunc = (a: AWithAAsString) => {}
const obj: A = {a: ""}
if (obj.a !== null) {
theFunc(obj)
}```
You can choose specific lines to embed by selecting them before copying the link.