js-glaze
js-glaze copied to clipboard
Issue when using `@glazed/datamodel`
Description
It seems like the bundled code does not work.
Technical Information
An error is thrown when trying to import DataModel
:
import { DataModel } from '@glazed/datamodel'
Throws this error
| getDefinitionID(e) {
> return r(this, n).definitions[e] ?? null;
| }
|
To replicate:
- Install dependency
npm install @glazed/datamodel
- Import package
import { DataModel } from '@glazed/datamodel'
- Run project
npm start
| getDefinitionID(e) { > return r(this, n).definitions[e] ?? null; | } |
This is just bundled code, what is the actual error please?