Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
84 views
in Technique[技术] by (71.8m points)

How can I access id and name? (Typescript type)

type ClientData = {
id: number,
name: string 
}

And if you know the answer, can you please also tell me what this is? Is it really called a type? I can't find anything about it on the internet, is it an interface?

question from:https://stackoverflow.com/questions/65864833/how-can-i-access-id-and-name-typescript-type

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...