Summary
Type '{ name: string; header: string; align: string; }[]' is not assignable to type 'OptColumn[]'.
Type '{ name: string; header: string; align: string; }' is not assignable to type 'OptColumn'.
Types of property 'align' are incompatible.
Type 'string' is not assignable to type 'AlignType | undefined'.
-----> What is the cause of the error message output?
Screenshots
Version
"@toast-ui/react-grid": "^4.21.9",
Additional context
Add any other context about the problem here.
Summary Type '{ name: string; header: string; align: string; }[]' is not assignable to type 'OptColumn[]'. Type '{ name: string; header: string; align: string; }' is not assignable to type 'OptColumn'. Types of property 'align' are incompatible. Type 'string' is not assignable to type 'AlignType | undefined'.
Screenshots
Version "@toast-ui/react-grid": "^4.21.9",
Additional context Add any other context about the problem here.