Event JSON
{
"id": "d8b13f9d2fa9380439c98c9bd5ec3a4149c8f9a766d1724e1901e2f691ea78b4",
"pubkey": "7428de0b9fdbca1d85e11ba7078bd01d4b710a00f0a1a809a0b2d91fd53fc5b6",
"created_at": 1724062050,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/@sir_pepe/112988130509627429",
"web"
],
[
"t",
"typescript"
],
[
"imeta",
"url https://files.mastodon.social/media_attachments/files/112/988/104/748/699/230/original/dbf4909c96904977.png",
"m image/png"
],
[
"proxy",
"https://mastodon.social/users/sir_pepe/statuses/112988130509627429",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/sir_pepe/statuses/112988130509627429",
"pink.momostr"
],
[
"-"
]
],
"content": "So if you write \"import type ...\" you get a namespace, not a type (obviously). If the contents of this namespace needs to be globally available for declaration merging, you need to transform the namespace into a type to then have your interface extend it. And then tell eslint to shut up about the obviously non-empty interface.\n\nThis is fine #TypeScript\nhttps://files.mastodon.social/media_attachments/files/112/988/104/748/699/230/original/dbf4909c96904977.png\n",
"sig": "869cb9aa2fcf0d2c3c8e6e9f0248d888e99758b058e14f6245ff9aaaa5a4fc75986c0949923e88989e2c3173c437e02e701745785f09cf9ff4373858134b25c0"
}