tacugo.bsky.social
tacugo.bsky.social
@tacugo.bsky.social
they should work if you have configured ts to check js files. reading your quoted post it looks like you haven't, not sure why ts is reporting an error then. though the error makes sense since ts can't know that the decorator won't be used in classes that don't derive from A.
December 9, 2025 at 9:29 AM
Super Marakartu
December 2, 2025 at 12:21 PM
I've been using this since last week and it has greatly improved my youtube experience. github.com/zpix1/yt-ant...
GitHub - zpix1/yt-anti-translate: Chrome extension to disable youtube video titles autotranslation
Chrome extension to disable youtube video titles autotranslation - zpix1/yt-anti-translate
github.com
August 7, 2025 at 9:09 AM
ah my bad... I figured too late that you mention code blocks specifically
March 23, 2025 at 7:34 PM
The setting seems to work for my own gists 🤔

gist.github.com/tao-cumplido...
March 23, 2025 at 7:32 PM
I wrote this a while back, not sure if it fits what you're looking for. Documentation isn't great but it's typed...

www.npmjs.com/package/@shi...
@shigen/enum
Enums for JavaScript. Latest version: 0.5.0, last published: 5 months ago. Start using @shigen/enum in your project by running `npm i @shigen/enum`. There are 2 other projects in the npm registry usin...
www.npmjs.com
January 27, 2025 at 2:57 AM
You could also do

const a = [] satisfies [unknown?, ...unknown[]];

for any tuple
January 23, 2025 at 1:45 PM
The only problem is that the generated .d.ts will look like this

class Color {
#private;
statid red = new Color<"red">();
...
}

but the .d.ts can be edited by hand or script to change the #private back to #t: T
I remember I had to do this once.
January 23, 2025 at 2:24 AM
you mean TColor not being assignable to Color? maybe this works:

class Color {
// @ts-expect-error
#t: T;
static red = new Color<"red">();
static green = new Color<"green">();
static blue = new Color<"blue">();
}

type TColor = (typeof Color)[Exclude]
January 23, 2025 at 2:24 AM
If you don't mind using the command line, there is this tool by @humanwhocodes.com

github.com/humanwhocode...
GitHub - humanwhocodes/crosspost: A JavaScript utility for posting across multiple social networks at once
A JavaScript utility for posting across multiple social networks at once - humanwhocodes/crosspost
github.com
December 3, 2024 at 10:08 AM
I recently hit this, a function ran infinitely on the microtask queue and the passed signal's aborted state was never updated. setImmediate was my first approach too, but I only just now noticed that it isn't supported by browsers. setTimeout with 0 delay isn't the same, right?
November 29, 2024 at 6:33 PM
WCAG 3 is expeted to replace its contrast algorithm with APCA. With the APCA algorithm your example should pass.

atmos.style/contrast-che...
November 20, 2024 at 5:39 PM
There's a proposal by @chronicles.org
github.com/tc39/proposa...

The regex library can emulate the flag and has other advanced features
www.npmjs.com/package/regex
GitHub - tc39/proposal-regexp-x-mode
Contribute to tc39/proposal-regexp-x-mode development by creating an account on GitHub.
github.com
November 16, 2024 at 11:21 AM