Custom plugin? Can I import recordSetStore? #111
-
Can I create my own plugin? I thought I'd attempt to put one together following the patterns I can discern in the plugins that are distributed with Headless Table. However, it doesn't seem as though I am able to import things such as type Please forgive my ignorance if I'm overlooking something obvious. I'm new to TypeScript and JS modules in general. I'm able to have an import statement such as the following:
However, I get an error if I try this:
The error is "Could not find a declaration file for module 'svelte-headless-table/utils/store'". Is this module not exported? Or am I just not using the correct syntax in the from clause? Edit: FWIW, I think I understand better now how packaging works. It wasn't just TypeScript and JS modules that I needed to understand to make sense of this error, but also the role of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Ahh the module isn't exported. I didn't consider exporting it initially, but sure I'd be happy to update it! |
Beta Was this translation helpful? Give feedback.
Ahh the module isn't exported. I didn't consider exporting it initially, but sure I'd be happy to update it!