vue icon indicating copy to clipboard operation
vue copied to clipboard

fix: typescript resolution

Open blake-newman opened this issue 1 year ago • 0 comments

Move 'types' to be first as per typescript requirements.

In order for vue/types/... to correctly resolve without extension with module type 'bundler', 'nodenext' etc the wildcard types needs to specify ./types/*.d.ts.

Many downstream packages import vue/types/vue and vue/types/options for ambient module argumentation.

Without extension declared in exports: Screenshot 2023-03-30 at 14 32 07

With extension declared in exports: Screenshot 2023-03-30 at 14 32 07

Relates to: https://github.com/microsoft/TypeScript/issues/53575

blake-newman avatar Mar 30 '23 13:03 blake-newman