Files
tsgo/testdata/tests/cases/compiler/negatedUnicodeSetUnionMayContainStrings.ts
48f583496e Report TS1518 for all negated Unicode-set union operands (#4832)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RyanCavanaugh <[email protected]>
2026-08-14 19:47:32 +00:00

6 lines
98 B
TypeScript

// @target: es2024
const a = /[^\q{xy}b]/v;
const b = /[^b\q{xy}]/v;
const c = /[^[b\q{xy}c]]/v;