Sign in

tacugo.bsky.social

@tacugo.bsky.social
55 followers 363 following 16 posts
PostsRepliesMedia
tacugo.bsky.social @tacugo.bsky.social · 24/04/2026
I've had great success with this extension. github.com/zpix1/yt-ant...
0120
tacugo.bsky.social @tacugo.bsky.social · 09/12/2025
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.
1121
tacugo.bsky.social @tacugo.bsky.social · 02/12/2025
Super Marakartu
010
tacugo.bsky.social @tacugo.bsky.social · 10/11/2025
github.com/antfu/node-m... by @antfu.me
github.com
GitHub - antfu/node-modules-inspector: Interactive UI for local node modules inspection
Interactive UI for local node modules inspection. Contribute to antfu/node-modules-inspector development by creating an account on GitHub.
110
tacugo.bsky.social @tacugo.bsky.social · 07/08/2025
I've been using this since last week and it has greatly improved my youtube experience. github.com/zpix1/yt-ant...
github.com
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
111
tacugo.bsky.social @tacugo.bsky.social · 03/04/2025
Not sure if it's a TS bug, but I've noticed this before. Just for reference: github.com/mmkal/expect...
github.com
false equality with exactOptionalPropertyTypes · Issue #128 · mmkal/expect-type
Not sure if this solvable, but .toEqualTypeOf() doesn't work correctly with the exactOptionalPropertyTypes config option. import { expectTypeOf } from "expect-type"; type A = { a?: number | undefin...
010
tacugo.bsky.social @tacugo.bsky.social · 23/03/2025
ah my bad... I figured too late that you mention code blocks specifically
010
tacugo.bsky.social @tacugo.bsky.social · 23/03/2025
The setting seems to work for my own gists 🤔 gist.github.com/tao-cumplido...
A screenshot of the linked gist
200
tacugo.bsky.social @tacugo.bsky.social · 27/01/2025
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...
npmjs.com
@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...
010
tacugo.bsky.social @tacugo.bsky.social · 23/01/2025
You could also do const a = [] satisfies [unknown?, ...unknown[]]; for any tuple
010
tacugo.bsky.social @tacugo.bsky.social · 23/01/2025
The only problem is that the generated .d.ts will look like this class Color<T = unknown> { #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.
010
tacugo.bsky.social @tacugo.bsky.social · 23/01/2025
you mean TColor not being assignable to Color? maybe this works: class Color<T = unknown> { // @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<keyof typeof Color, "prototype">]
110
tacugo.bsky.social @tacugo.bsky.social · 03/12/2024
If you don't mind using the command line, there is this tool by @humanwhocodes.com github.com/humanwhocode...
github.com
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
100
tacugo.bsky.social @tacugo.bsky.social · 29/11/2024
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?
010
tacugo.bsky.social @tacugo.bsky.social · 20/11/2024
WCAG 3 is expeted to replace its contrast algorithm with APCA. With the APCA algorithm your example should pass. atmos.style/contrast-che...
130
tacugo.bsky.social @tacugo.bsky.social · 16/11/2024
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.com
GitHub - tc39/proposal-regexp-x-mode
Contribute to tc39/proposal-regexp-x-mode development by creating an account on GitHub.
020