diff --git a/crates/oxc_linter/src/rules/eslint/no_undef.rs b/crates/oxc_linter/src/rules/eslint/no_undef.rs index 2e556b77b3517..53b967c40730e 100644 --- a/crates/oxc_linter/src/rules/eslint/no_undef.rs +++ b/crates/oxc_linter/src/rules/eslint/no_undef.rs @@ -172,6 +172,11 @@ fn test() { ("function resolve(path: string): T { return { path } as T; }", None, None), ("let xyz: NodeListOf", None, None), ("type Foo = Record;", None, None), + ( + "export interface StoreImpl { onOutputBlobs: (callback: (blobs: MediaSetBlobs) => void) => import('rxjs').Subscription; }", + None, + None, + ), ]; let fail = vec![