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

Disallow functions and variables inside of a @class #166

@iccir

Description

@iccir

Right now JavaScript functions and variables can be declared inside of a@class block. This prevents us from outputting ES6 classes (#165).

Moving forward, only comments, method declarations, @property declarations, and the @observe directory should be allowed inside of @class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions