Skip to content

Allow V2 addons to get .d.ts declarations instead of .gts.d.ts #988

@BoussonKarel

Description

@BoussonKarel

I agree that if vue emits .vue.d.ts files, we want to emit something similar for gjs components.

However, V2 addons are built into js with a declarations folder, meaning your-component.gts becomes your-component.js with a your-component.d.ts declarations file.

To be able to support this the volar extraExtensionsToRemove should be configurable or have ['.gjs', '.gts'] in it by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions