-
Notifications
You must be signed in to change notification settings - Fork 10
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
Cant import @siderite/linqer as its not a module #20
Comments
Thanks for the report. I will try to make this work for both TS and node. I fix one and I break the other :( |
I gave up on making import work. Just import @types/node and use require in the code. I appreciate any advice or help, but I think I will only make this work for all Node.js and TypeScript in version 2.0. |
Will try |
The problem for me is that I did this in Javascript, moved to TypeScript for the type safety, but I am not actually using it anywhere except as a .js file in web apps that I only make for myself. If you give me the exact way you are using it, I can help you on a case to case basis. |
import Linqer from '@siderite/linqer'
causes the following error to show.File 'd:/Repo/SnapRepo/Server-React/ClientApp/node_modules/@siderite/linqer/LInQer.all.d.ts' is not a module.ts(2306)
Can you add support for import please :)
The text was updated successfully, but these errors were encountered: