This tsconfig.json configurations works as expected:
"baseUrl": ".",
"typeRoots": [
"./node_modules/@types",
"./node_modules/suman-types/dts"
],
"baseUrl": ".",
"typeRoots": [
"node_modules/@types",
"node_modules/suman-types/dts"
],
I am trying to figure out if baseUrl has something to do with it.
No.
You need relative path starters in typeRoots if the path is not simple (i.e. includes some /
)