Skip to content

No typescript types in the package #16

@axle-h

Description

@axle-h

Hi, awesome library, thank you.

Looks like the library is missing a declaration (.d.ts) file so:

  1. Importing the module will not work in a typescript project import { GovUkVue } from 'govuk-vue'
  2. Some people might not want to import every compoennt as a module but there are no types available for the individual components

Maybe this is as easy as adding https://github.com/qmhc/unplugin-dts ?

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