mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-11 10:46:28 -05:00
fix(53424): in code documentation is not working upon import if function expression reuse function type (#53964)
This commit is contained in:
15
tests/cases/fourslash/quickInfoJsDocAlias.ts
Normal file
15
tests/cases/fourslash/quickInfoJsDocAlias.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
// @filename: /a.d.ts
|
||||
/////** docs - type T */
|
||||
////export type T = () => void;
|
||||
/////**
|
||||
//// * docs - const A: T
|
||||
//// */
|
||||
////export declare const A: T;
|
||||
|
||||
// @filename: /b.ts
|
||||
////import { A } from "./a";
|
||||
////A/**/()
|
||||
|
||||
verify.baselineQuickInfo();
|
||||
Reference in New Issue
Block a user