You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeGodanConjugationMap={く: {ます形: "き";て形: "いて";
...
};
...
る: {
...
ない形: "ら";
...
};};// Helper utility types for conjugationtypeGetGodanConjugation<EextendsGodanVerb["ending"],FextendsConjugationForm>=FextendskeyofGodanConjugationMap[E]
? StringLiteral<GodanConjugationMap[E][F]>
: never;type行く=GodanVerb&{stem: "行";ending: "く"};typeある=GodanVerb&{stem: "あ";ending: "る"};type行くて形=ConjugateVerb<行く,"て形">;typeあるない形=ConjugateVerb<ある,"ない形">;constwrongIku: 行くて形="行いて"constwrongAru: あるない形="あら"constverifyIku: 行くて形="行って"// Type '"行って"' is not assignable to type '"行いて"'.constverifyAru: あるない形=""// ない。Type '""' is not assignable to type '"あら"'.