Skip to content

Support importing tags from other files#185

Open
dspencer001 wants to merge 2 commits intobahmutov:mainfrom
dspencer001:support-separate-file-enum-tags
Open

Support importing tags from other files#185
dspencer001 wants to merge 2 commits intobahmutov:mainfrom
dspencer001:support-separate-file-enum-tags

Conversation

@dspencer001
Copy link

@dspencer001 dspencer001 commented Nov 22, 2025

  • Add support for named/default/namespace imports
  • Add support for named/default exports of constants, objects, and enums
  • Add TypeScript enum export/import support
  • Add automatic .js and .ts file extension resolution

I believe this should fix #78

This is quite a few changes. I wanted to add support for most ways to import/export, plus handle the case where files are imported without an extension at all, but if you'd rather support only a subset of this I'm happy to rip out whatever you want. I'm also happy to make whatever changes you want if this isn't how you envisioned supporting importing tags from files would work.

  - Add support for named/default/namespace imports
  - Add support for named/default exports of constants, objects, and enums
  - Add TypeScript enum export/import support
  - Add automatic .js and .ts file extension resolution
Also adds support for resolving both js and ts file extensions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tags imported from other file are not supported

1 participant