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

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

Description

@kateract

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions