Why does CTRL-click on JavaScript Math function in VSCode show internal TypeScript code?

I wanted to investigate the internals of the Math object in JavaScript IDE as running in Node. I assumed I would get information on what C++ methods the V8 engine called, etc. but I get information showing TypeScript interfaces for the Math object.

Can anyone explain why TypeScript interfaces are being shown when one displays information on V8's implementation of JavaScript's Math object?

Be the first to reply