www.npmjs.com/package/@shi...
www.npmjs.com/package/@shi...
const a = [] satisfies [unknown?, ...unknown[]];
for any tuple
const a = [] satisfies [unknown?, ...unknown[]];
for any tuple
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
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
github.com/humanwhocode...
github.com/humanwhocode...
atmos.style/contrast-che...
atmos.style/contrast-che...
github.com/tc39/proposa...
The regex library can emulate the flag and has other advanced features
www.npmjs.com/package/regex
github.com/tc39/proposa...
The regex library can emulate the flag and has other advanced features
www.npmjs.com/package/regex