Skip to content

Can't import parseString() using destructuring assignment syntax #2

@urish

Description

@urish

importing parseString() using ES6 destructuring assignment syntax results in "Cannot read property 'parseGcc' of undefined" error.

Code to reproduce issue:

const { parseString } = require('@wokwi/gcc-output-parser');
parseString('Hello world');

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions