Haven't been able to get help with this in the discord server. When using functions from plugins that act as "service" files, such as the following, I sometimes find that an error is thrown at runtime, saying that the function is not a function. This happens only when some name is set for the plugin, and does not happen when the plugin name is undefined. At no point does the IDE indicate a TS error.
Haven't been able to get help with this in the discord server. When using functions from plugins that act as "service" files, such as the following, I sometimes find that an error is thrown at runtime, saying that the function is not a function. This happens only when some name is set for the plugin, and does not happen when the plugin name is undefined. At no point does the IDE indicate a TS error.
Error:
I can provide more code for this specific case, but this unintended behavior is difficult to reproduce as it does not seem to happen consistently.