Skip to content

Commit

Permalink
Resolve issue #8596
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkvanMents committed Jan 2, 2025
1 parent 1b8b779 commit 8a216fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function generate(domainModel1: domainmodels.DomainModel, model: IModel) {
The original code expects a unit as the first argument. The unit is supposed to be the container for the domain model. However, you don't want to create a new domain model, you are going to re-use an existing domain model instead. Therefore, you need to remove this line:
```ts
const domainModel1 = domainmodels.DomainModel.createIn(unit);
var domainModel1 = domainmodels.DomainModel.createIn(unit);
```
Remove the last bracket on the last line so your JavaScript code will look like this:
Expand Down

0 comments on commit 8a216fe

Please sign in to comment.