Open DouMJun opened 1 year ago
原文:
if it's user names you can do { [username:string] : {message: string} } to help the next dev who looks at the code (which just might happen to be you)
{ [username:string] : {message: string} }
本文:
如果有一个用户名,你可以使用 { username: string}: { message: string },这有利于下一个开发者理解你的代码。
{ username: string}: { message: string }
原文:
本文: