Skip to content

Allow type-only import labels #194

@noahbald

Description

@noahbald

Hi, just playing around with this - I've noticed that checking type only imports seems to result in an error.
This isn't mentioned in the specification docs, so perhaps it was missed?

error:
  ┌─ ./src/actions/address.ts:4:15
  │
4 │ import { type PartialMessage } from "@bufbuild/protobuf";
  │               ^^^^^^^^^^^^^^ Expected CloseBrace or Comma found Identifier("PartialMessage")

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingparserRelated to Ezno's syntax parser, AST definitions and output

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions