Recently, I delved into experimenting with TypeScript within Blazor and found myself wanting to access some data from the browser (the specific data is not important as this is a general issue).
While I don't have much experience with TypeScript (having only dabbled in JavaScript previously), my C# skills are quite solid. Given that TypeScript has types unlike JavaScript, I began to wonder if there were any pre-defined types in TypeScript that could be used in my project?
After consulting the Mozilla documentation, I came across this link: https://developer.mozilla.org/en-US/docs/Web/API/Document
Considering that the `document` object has numerous properties, I assumed that there must be a specific datatype in TypeScript for such objects. Isn't that the essence of this language - providing typings?
However, when I tried utilizing `document`, nothing noteworthy happened; the suggestions menu remained empty (in contrast to C#, where it would prompt me regarding imports or other necessary steps).
Therefore, my inquiry is whether TypeScript includes predefined types for these web-based objects and how I can integrate them into Blazor (potentially requiring third-party libraries to import)?