Skip to content

Publish types for package #5

@achou11

Description

@achou11

Having access to the the type definitions is helpful when you're programmatically working with the plugin. Considering this project is using TypeScript already, there are two paths:

  1. Emit the type definitions as a build step
  2. Write a manual definitions file

In the meantime, I have manually written definitions in https://github.com/achou11/webxdc-app-template/blob/main/types/webxdc__vite-plugins.d.ts in case it's helpful for anyone else. Happy to make a PR if helpful!

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