VC2068: A built-in parameter's type can't change

error All diagnostics

A built-in parameter's type is fixed: extraClasses and layoutClasses are always multi-select, extraCss and layoutStyles always css, and anchorId always text. The renderer adds them to the block's class, style and id. A declaration can't change that.

How to fix

Remove type from the declaration.