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

@kateract

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions