Hi folks. I have a little project where I don't want to import types and instead would like to have them just available everywhere.
So I put them in src/types.ts and added to tsconfig.json:
"include": ["src/types.ts"],
which looks stupid, because TS should include everything from src, right?
Yet, as tsc surprised me many times before, I admitted that it could magically help, but... no, these types are not available to the rest of my project.
So, how to do it? Should I add magical ".d." letter in the name or what?