typings.d.ts 435 B

123456789101112131415161718192021
  1. import 'umi/typings';
  2. import React from 'react';
  3. declare global {
  4. namespace JSX {
  5. interface IntrinsicElements {
  6. 'em-emoji': React.DetailedHTMLProps<
  7. React.HTMLAttributes<HTMLElement>,
  8. HTMLElement,
  9. {
  10. shortcodes: string,
  11. native: string,
  12. size: string,
  13. fallback: string,
  14. set: string,
  15. skin: 1 | 2 | 3 | 4 | 5 | 6
  16. }
  17. >;
  18. }
  19. }
  20. }