[Interactive inlay hints] Get source file from parameter node (#55476)

This commit is contained in:
Maria José Solano
2023-08-23 16:40:49 -07:00
committed by GitHub
parent 12d9f04d33
commit 5fe88ea044
4 changed files with 68 additions and 15 deletions

View File

@@ -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
});