Skip to content

Commit 894b148

Browse files
committed
Fix ESM import
1 parent ea93aca commit 894b148

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ parseComponent(options)
113113

114114
This will print this JSON output:
115115

116-
```json
116+
```js
117117
{
118118
"name": "checkbox" // The component name
119119
"description": "A simple checkbox component" // The component description

lib/parser/AbstractParser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import EventEmitter from 'events';
33
import { RestValue } from '../entity/RestValue.js';
44
import { Value, UndefinedValue, NullValue } from '../entity/Value.js';
55
import { Syntax, Type, TypedocTag, JSDocTag, TypeList, CompositionAPIValues, ScalarTypeList } from '../Enum.js';
6-
import { get } from '@b613/utils/lib/object';
6+
import { get } from '@b613/utils/lib/object.js';
77

88
const DUPLICATED_SPACES_RE = /\s+/g;
99
const BOOLEAN_OPERATOR_RE = /(&&|\|\|)/;

0 commit comments

Comments
 (0)