Closed WiseBird closed 3 years ago
/ in tsconfig mapping is not supported.
/
// tsconfig.json "paths": { "test/dal/*": [ "./src/dal/*" ] },
// tslint.json "packages": [ { "importPath": "interfaces", "allowedToImport": [], "subFolders": [] }, { "importPath": "test/dal", "allowedToImport": ["interfaces"], "subFolders": [] } ]
// ts file import {Dto} from 'test/dal/dto'; // no error
Sample repository
First part of the mapping is used to distinguish imports from the application itself. Also @ is often used, e.g.
@
"paths": { "@app/dal/*": [ "./src/dal/*" ] },
Thanks for logging it!
:tada: This issue has been resolved in version 4.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
/
in tsconfig mapping is not supported.Sample repository
First part of the mapping is used to distinguish imports from the application itself. Also
@
is often used, e.g.