-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work, false possitive #4
Comments
Hi,
Could you also provide the import statements
In your TS files?
fre 9 mars 2018 kl. 15:35 skrev Damian Bielecki <[email protected]>:
… Hello, I was trying to use it on simple test project. My structure is:
- server
- libs
- models
- tsconfig.json
tsconfig.json looks like that:
{
"compilerOptions": {
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": ["es6", "dom"],
"mapRoot": "./dist",
"module": "commonjs",
"moduleResolution": "node",
"outDir": "./dist",
"sourceMap": true,
"target": "es6",
"typeRoots": [
***@***.***"
],
"baseUrl": ".",
"paths": {
"~/*": ["libs/*"]
}
}
}
After executing tspath I get this message:
Total files processed: 5
Total paths processed: 2
Operation finished in: 22.956ms
Project is prepared, now run it normally!
However paths were not replaced. Files were altered but paths remain the
same. What do I do wrong?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAy_0QCKcMaYj9EpWF3HSLOtamgCUHDks5tcpNFgaJpZM4SkWky>
.
|
Sure, here it is:
On a side note |
Hello, I have managed to find what the issue was. I was using Anyway, thank you for your response. |
Hello, I was trying to use it on simple test project. My structure is:
tsconfig.json looks like that:
After executing tspath I get this message:
However paths were not replaced. Files were altered but paths remain the same. What do I do wrong?
The text was updated successfully, but these errors were encountered: