I’ve read that what’s required for a typescript file to be a global script instead of a module, is to be free of any top level import or export statements.
I realize this is normally used for declarations. But would this also mean I can just define a concrete class in one of these files, without exporting it, and it gets added to the global scope?
Just trying to learn typescript. Have read many answers but none about this specifically
6