Event JSON
{
"id": "7be93fe022911bbb615fd22fc9efa95a315a4d92273c222e5ff23d8b96798385",
"pubkey": "0bcb4fea58ca0749444278a4850b964fba08d7aee656cb583838bc703bec7759",
"created_at": 1744025668,
"kind": 1,
"tags": [
[
"t",
"typescript"
],
[
"t",
"lsp"
],
[
"proxy",
"https://mastodon.ar.al/@aral/114296466191195227",
"web"
],
[
"t",
"limit"
],
[
"t",
"constant"
],
[
"t",
"object"
],
[
"proxy",
"https://mastodon.ar.al/users/aral/statuses/114296466191195227",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.ar.al/users/aral/statuses/114296466191195227",
"pink.momostr"
],
[
"-"
]
],
"content": "Hit an interesting limit in the TypeScript LSP¹:\n\nLooks like there’s a limit on the number of entries an object (constant) can have before the LSP balks. Seems to hit it around 1,343.\n\n(I’m generating an object for an icon library.)\n\nDoesn’t appear to be related to file/memory size (breaking up the same number of entries into several objects works).\n\nAnyone know what limitation exactly I’m hitting (if it’s documented somewhere?) Been searching but couldn’t find any reference to it.\n\n¹ It’s definitely an LSP limit as I tried in VSCode as well to rule out it being a limit in Helix Editor.\n\n#TypeScript #limit #constant #object #LSP",
"sig": "d8e375ac93fc11421d62301b11b8d55a880e348c47ce822a38e2065b547c549ccdb0f840a5fea0b7947abbf5eac3bd94c35005367f5a9f7a53d32e73e6de89b4"
}