Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

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

Open
kateract opened this issue May 14, 2018 · 0 comments
Open

Comments

@kateract
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant