Closed nooooooom closed 2 years ago
Could you add some tests?
If you don't know how to add tests, see #19 (comment)
Sure! I'm thinking of doing this, but i may finish it tomorrow.
@Zolyn I think it's just a simple test for tsx
because it only adds plugin that supports babel
to parse jsx
, I'd like to hear your opinion.
@Zolyn I think it's just a simple test for
tsx
because it only adds plugin that supportsbabel
to parsejsx
, I'd like to hear your opinion.
I am not familiar with JSX. You can just add a simple usecase in dynamic
category.
I found out that this change only supports jsx elements
in setup
but does not support importing types from .tsx
files.
Should I try this feature addition in this pr? I don't know much about this, but I'm happy to try to figure this out. It may take some time.
Currently it only matches .ts
.d.ts
files
Are you going to support importing types from tsx
files in this PR or another PR?
Are you going to support importing types from
tsx
files in this PR or another PR?
Okay~ I misunderstood the meaning before. I thought that there was no need to support this feature at present.
I will support the import of tsx
in this PR, as this appears to be part of enhancing tsx
.
Could you add some tests?
If you don't know how to add tests, see https://github.com/wheatjs/vite-plugin-vue-type-imports/pull/19#issuecomment-1203143020