Closed
Description
π Search Terms
isolated declarations transpiledeclarations any arrow
π Version & Regression Information
- This is the behavior in every version I tried
β― Playground Link
π» Code
import {type Foo} from 'foo';
export const bar = <T,>(foo?: Foo<T>): void => {};
π Actual behavior
With "isolatedDeclarations": true
this gets emitted as
export declare const bar: <T>(foo?: any) => void;
π Expected behavior
This gets emitted as
import {type Foo} from 'foo';
export declare const bar: <T>(foo?: Foo<T>) => void;
Additional information about the issue
No response