fix confused comment (#49094)

This commit is contained in:
Oleksandr T
2022-05-17 01:26:26 +03:00
committed by GitHub
parent 0df9462a96
commit 755d5ccad6
5 changed files with 9 additions and 21 deletions

View File

@@ -12,8 +12,6 @@ const myHoc = <ComposedComponentProps extends any>(
const props: ComposedComponentProps = null as any;
// Expected no error, got none - good
<WrapperComponent {...props} myProp={'1000000'} />;
// Expected error, but got none - bad!
<WrapperComponent {...props} myProp={1000000} />;
};