Import TS files from node_modules [ expo web ]

Simple question, is there a way to include node_modules with ts files? Most packages will compile ts to js with a d.ts definition file. Though uncommon it is a valid use case to include ts files directly in node_modules. When I try to import a ts file from node_modules the cmd line throws an errors related to not recognizing the typescript syntax. I tried messing around with the webpack.config override and the tsconfig to no avail. I’m not sure what babel plugins the expo web uses. For mobile development I was using the metro config to handle this use case. It seems like I am probably missing something obvious. Any help would be appreciated.