Replies: 2 comments 2 replies
-
That makes a lot of sense! I've created a PR here: #3225 it's a breaking change though so we'll have to wait until the first next major release to merge and publish it. As a workaround, you could create your own wrapper function around |
Beta Was this translation helpful? Give feedback.
-
Thanks @josdejong! I worked around it by importing as factory function with a custom name instead. So instead of directly importing function |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to extend the
override: false
option inmath.import(...)
to units as well?For example, if a function named
N
is imported usingmath.import({ N: function () {...} })
, it overrides thenewton
unitN
. Would be great to have an option to prevent this.Beta Was this translation helpful? Give feedback.
All reactions