mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 01:04:49 -05:00
[Interactive inlay hints] Get source file from parameter node (#55476)
This commit is contained in:
committed by
GitHub
parent
12d9f04d33
commit
5fe88ea044
@@ -0,0 +1,24 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
// @Target: esnext
|
||||
// @module: nodenext
|
||||
|
||||
// @Filename: aaa.mts
|
||||
////import { helperB } from "./bbb.mjs";
|
||||
////helperB("hello, world!");
|
||||
|
||||
// @Filename: bbb.mts
|
||||
////import { helperC } from "./ccc.mjs";
|
||||
|
||||
////export function helperB(bParam: string) {
|
||||
//// helperC(bParam);
|
||||
////}
|
||||
|
||||
// @Filename: ccc.mts
|
||||
////export function helperC(cParam: string) {}
|
||||
|
||||
goTo.file("./aaa.mts");
|
||||
verify.baselineInlayHints(undefined, {
|
||||
includeInlayParameterNameHints: "all",
|
||||
interactiveInlayHints: true
|
||||
});
|
||||
Reference in New Issue
Block a user