4 ms·
If you have a variable x whose type is not assignable to number | bigint, TypeScript doesn't flag -x as a type error, so you need an ESLint plugin to catch that
by sestep 3y ago
If you have a variable x whose type is not assignable to number | bigint, TypeScript doesn't flag -x as a type error, so you need an ESLint plugin to catch that.