mixer / developers

Legacy Developer Site Contents
https://dev.mixer.com
MIT License
2 stars 2 forks source link

interactive-next Preact Getting Started Property 'style' does not exist #223

Open kateract opened 6 years ago

kateract commented 6 years ago

When I try and do the part of the preact getting started here and add this.props.style.compile() I get the following error in VSCode and CDK:

Property 'style' does not exist on type 'Readonly<{ resource: MControl<IControl>; } & IControl & Attributes & { children?: ComponentChild[...'. Did you mean 'styles'?

Changing the code to styles as suggested by the IDE yields the following error: Cannot invoke an expression whose type lacks a call signature. Type 'string | number' has no compatible call signatures.