diff --git a/test/rules/deprecation/test.ts.lint b/test/rules/deprecation/test.ts.lint index 20a8c1d2330..fe878215ff9 100644 --- a/test/rules/deprecation/test.ts.lint +++ b/test/rules/deprecation/test.ts.lint @@ -58,7 +58,9 @@ const A = 1, B = 2; A + B; ~ [err % ('A')] +#if typescript < 2.7.0 ~ [err % ('B')] +#endif export default A;