본문 바로가기
카테고리 없음

How to implement TypeScript with Supabase database

by juniKang 2024. 2. 28.

https://supabase.com/docs/reference/javascript/typescript-support

 

TypeScript support | Supabase

Sometimes the generated types are not what you expect. For example, a view's column may show up as nullable when you expect it to be not null. Using type-fest, you can override the types like so:

supabase.com

위 링크에서, 사용한대로 적용을 해보자.

 

 

적용이 안된다???

 

 

이렇게 해줘야 적용된다..

공식문서 잘 좀 만들자..

댓글