So I wish I could use an alias to an ugly type that looks like this:
Maybe<Promise<Paged<Carrier>, Problem>>[]
Something like:
import Response = Maybe<Promise<Paged<Carrier>, Problem>>[];
Is there a way to do type aliases in TypeScript?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…