Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Cannot read property 'range' of null #681

@ldwqh0

Description

@ldwqh0

In my index.js

export module1  from './module1'
export module2 from './module2'

with the error

Cannot read property 'range' of null

and I use Decorator before export like this

@Decorator
export default Class A {
 ...
}

the error

Parsing error: Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.

How do I solve these two problems?

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