We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4639d29 commit ee26b0bCopy full SHA for ee26b0b
packages/@lwc/engine-dom/src/apis/create-element.ts
@@ -106,7 +106,7 @@ if (process.env.NODE_ENV !== 'production') {
106
* just the public properties.
107
*/
108
type ComponentClassProperties<T> = T extends {
109
- __lwc_public_property_types__?: infer Props extends object;
+ readonly __lwc_public_property_types__?: infer Props extends object;
110
}
111
? Props
112
: Omit<T, keyof LightningElement>;
0 commit comments