-
As described on Stackoverflow: Why does code-completion work on Stackblitz, but not in Intellij?, code completion does not work for mathJs in IntelliJ.
What do you think? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Thanks for fielding the stack exchange question, tmtron. I agree that the current index.ts has no value for someone who is simply a client of the library. So, not bundling index.ts sounds fine to me. But I am not really familiar with the bundler or how to leave the index.ts out; maybe this is something someone else involved with the project (possibly @josdejong if he is not too swamped) can do easily? |
Beta Was this translation helpful? Give feedback.
-
Thanks for bringing this up, good point. The |
Beta Was this translation helpful? Give feedback.
Thanks for bringing this up, good point. The
index.ts
file is only used as a unit test to verify that all type definitions work. It should indeed not be a part of the npm library. I think we the most neat solution is to moveindex.ts
into the folder with unit tests. Alternatively, we could simply ignore the file in the npm package.