Files
tsgo/testdata/baselines/reference/fourslash/documentHighlights/getOccurrencesOfAnonymousFunction2.baseline.jsonc
b55c80c6c8 Document highlights (#1699)
Co-authored-by: Gabriela Araujo Britto <[email protected]>
Co-authored-by: Isabel Duan <[email protected]>
2025-09-26 14:25:08 +00:00

25 lines
578 B
JSON

// === documentHighlights ===
// === /getOccurrencesOfAnonymousFunction2.ts ===
// //global foo definition
// function foo() {}
//
// (function [|f/*HIGHLIGHTS*/oo|](): number {
// return [|foo|](); // local foo reference
// })
// //global foo references
// foo();
// var f = foo;
// === documentHighlights ===
// === /getOccurrencesOfAnonymousFunction2.ts ===
// //global foo definition
// function [|foo|]() {}
//
// (function foo(): number {
// return foo(); // local foo reference
// })
// //global foo references
// [|fo/*HIGHLIGHTS*/o|]();
// var f = [|foo|];