How to properly type object key as a string or function in TypeScript

前端 未结 0 862
北荒
北荒 2021-02-20 06:32

I have an object (languageSchemas) with the following structure:

{
 LogIn: {
 enter: string; 
 forgotPassword: 
 string; yourEmail: string; 
 validation: {
               


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题