### π Search Terms isolated declarations transpiledeclarations any arrow ### π Version & Regression Information - This is the behavior in every version I tried ### β― Playground Link https://www.typescriptlang.org/play/?noCheck=true&isolatedDeclarations=true#code/JYWwDg9gTgLgBAbxgTzAUzgMQhAvnAMyghDgHICcyBuAKFrQA9JY4BjCAOwGd4AjAIZQ4AXjgAeACoAaAHwAKShAD8ALiw4psgJTqAbhGAATUbMS46QA ### π» Code ```ts import {type Foo} from 'foo'; export const bar = <T,>(foo?: Foo<T>): void => {}; ``` ### π Actual behavior With `"isolatedDeclarations": true` this gets emitted as ```ts export declare const bar: <T>(foo?: any) => void; ``` ### π Expected behavior This gets emitted as ```ts import {type Foo} from 'foo'; export declare const bar: <T>(foo?: Foo<T>) => void; ``` ### Additional information about the issue _No response_