TypeScript之定义类型 ( type )
键值对结构的对象
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>;
