Perhaps someone can help me understand this better. I know that via deprecated object "external" in lib.dom.d.ts you could call c++ and lower os code. I could not find this info online. How is it implemented inside?