Open1

TypeScriptで歯式の番号を簡潔に表現する

Nakano as a ServiceNakano as a Service
type DentalFormula = `${'右' | '左'}${'上' | '下'}${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8}`;
// FDI
type DentalFormula = `${1 | 2 | 3 | 4}${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8}`;