@leaden sonnet Here's a shortened URL of your playground link! You can remove the full link from your message.
Preview:```ts
type TestControllerPromise = Promise<void> &
typeof methods
const wait = () =>
new Promise(resolve => setTimeout(resolve, 1000))
const methods = {
click(
this: Promise<void>,
arg: string
): TestControllerPromise {
return attachMethods(
this.then(() => wait()).then(() =>
console.log("click", arg)
)
)
},
drag(
...```
You can choose specific lines to embed by selecting them before copying the link.