When writing react with typescript, what is the relationship between the interface of props and the proptypes of react itself

usually when we use typescript to write a react component,
defines an interface to props
something like this:

export interface AffixProps {
  /**
   * 
   */
  offsetTop?: number;
  offset?: number;
  /**  */
  offsetBottom?: number;
  style?: React.CSSProperties;
  /**  */
  onChange?: (affixed?: boolean) => void;
  /**  Affix  DOM  */
  target?: () => Window | HTMLElement | null;
  prefixCls?: string;
}

has made type restrictions on interfaces through typescript, and so on.
at the same time, proptypes is provided in react to verify props.

so now that interface, exists, can the role of proptypes be ignored, or is
proptypes an enhancement of interface?
how to understand the relationship between the two.
hopes to solve the problem ~
Mar.14,2021
The type checking of

Typescript is static, and prop-types can be checked at run time.
if you send a offsetTop= "abc" , your editor may indicate that you have the wrong type, but it still works in the browser. If you use prop-types , you will be prompted in the browser.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf3937-313d3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf3937-313d3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?