键值对结构的对象
export type ValidationErrors = {
[key: string]: any
};
联合类型(union type)
export type HttpEvent<T> =
HttpSentEvent | HttpHeaderResponse | HttpResponse<T>| HttpProgressEvent | HttpUserEvent<T>;
export type ValidationErrors = {
[key: string]: any
};
export type HttpEvent<T> =
HttpSentEvent | HttpHeaderResponse | HttpResponse<T>| HttpProgressEvent | HttpUserEvent<T>;
转载于:https://www.cnblogs.com/sea-breeze/p/9041656.html