Skip to content

discussion: support for TypeScript #1271

Description

@profnandaa

This is a fresh take at #1261

Re-posting my initial thoughts:

So, a rewrite is out of question. Looks like viable proposals we have right now are:

  1. Add types alongside the library (for easy maintenance), as opposed to doing it from DT
  2. Find a way of keeping DT up-to-date (uphill task coz of lack of autonomy)
  3. [my addition] Have a separate repo here in the validatorjs org specifically for types (which can be mirrored with DT)

Personally I'm leaning towards 3. I'm also trying to:

  • protect a small footprint for the library.
  • be less disruptive with what we already have.
  • keep supporting those who already were using DT (@types/validator).

Let me know what you folks think.

/cc. @tux-tn @johannesschobel

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions