planetscale/database-js

Strongly type "type" property of Field

Open

#141 aberto em 24 de set. de 2023

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)TypeScript (40 forks)github user discovery
enhancementgood first issue

Métricas do repositório

Stars
 (1.197 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador