Skip to content

Convert project to TypeScript #1135

@flevi29

Description

@flevi29

Upon further investigation:

In conclusion the author of this project:

  1. doesn't like nor has any patience for TypeScript
  2. wants 0 (zero) dependencies, and that includes development dependencies

Hey @porsager!

I would like to try and help you out a bit. I would like to convert the project to primarily use TypeScript.
With LTS Node.js versions now supporting TypeScript files (via erasableSyntaxOnly), using TypeScript is quite a bit simpler, easier and less hassle.

I would like to start with bundling. I want to use Rolldown, Vite is already bundled with it vitejs/vite#19925.
Then I'll convert src one file at a time to TypeScript.

I have some experience on meilisearch-js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions