=== tests/cases/compiler/b.ts === /// declare function foobar(a: typeof foo): typeof bar; >foobar : (a: () => any) => () => any >a : () => any >foo : () => any >bar : () => any === tests/cases/compiler/a.ts === /*! Keep this pinned comment */ declare function foo(); >foo : () => any // Don't keep this comment. declare function bar(); >bar : () => any