Preview:```ts
interface AssertionApi<T> {
ok: () => T
notOk: () => T
contains: (s: string) => T
notContains: (s: string) => T
}
type AssertBooleanFunction = Extract<
keyof AssertionApi<boolean>,
"ok" | "notOk" | "foo"
// ^?
const usingOk: AssertBooleanFunction = "ok"
...```
You can choose specific lines to embed by selecting them before copying the link.