planetscale/database-js

Strongly type "type" property of Field

Open

#141 ouverte le 24 sept. 2023

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)TypeScript (40 forks)github user discovery
enhancementgood first issue

Métriques du dépôt

Stars
 (1 197 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

Rather than having the type of "type" Field be of type string, it should be 'INT8' | 'INT16' | ... | string to make it easier to infer what type to check

Guide contributeur