typings.d.ts 935 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-09-14 11:16:08
  4. * @LastEditTime: 2021-09-14 17:43:42
  5. * @LastEditors: Please set LastEditors
  6. * @Description: In User Settings Edit
  7. * @FilePath: /MedicalWisdomCheckSys/src/components/MccsTable/typings.d.ts
  8. */
  9. declare namespace MccsTable {
  10. type GithubIssueItem = {
  11. url: string;
  12. id: number;
  13. number: number;
  14. title: string;
  15. labels: {
  16. name: string;
  17. color: string;
  18. }[];
  19. state: string;
  20. comments: number;
  21. created_at: string;
  22. updated_at: string;
  23. closed_at?: string;
  24. };
  25. type Columns = {
  26. title?: string,
  27. key?: string,
  28. [propsName: string]: any
  29. }
  30. type MccsTable = {
  31. columns: MccsTable.Columns[],
  32. [propsName: string]: any
  33. }
  34. type MccsTableRef = {
  35. getFormRef: () => any,
  36. getTableRef: () => any
  37. }|undefined
  38. }