diff --git a/crates/oxc_linter/src/rules/eslint/no_unused_vars/tests/oxc.rs b/crates/oxc_linter/src/rules/eslint/no_unused_vars/tests/oxc.rs index b15a3b2a7..6e672a431 100644 --- a/crates/oxc_linter/src/rules/eslint/no_unused_vars/tests/oxc.rs +++ b/crates/oxc_linter/src/rules/eslint/no_unused_vars/tests/oxc.rs @@ -904,6 +904,13 @@ fn test_type_references() { export const API_PERMISSIONS = {} as const; ", + " + type Foo = 'foo' | 'bar'; + export class Bar { + accessor x: Foo + accessor y!: Foo + } + ", ]; let fail = vec![