Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump the typescript from 5.4.5 to 5.5.4 #3124

Closed
91 changes: 56 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,9 @@
"tailwindcss": "~3.4.10",
"ts-jest": "~29.2.5",
"typedoc": "~0.26.6",
"typescript": "~5.4.5",
"typescript": "~5.5.4",
"vite": "~5.3.5"
},
"overrides": {
"@types/node": "^16.18.0"
},
"lint-staged": {
"*.{js,cjs,mjs,ts,cts,mts}": [
"eslint --fix"
Expand Down
4 changes: 2 additions & 2 deletions src/component/parser/json/converter/ProcessConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ export default class ProcessConverter {

for (const eventDefinitionKind of eventDefinitionKinds) {
// sometimes eventDefinition is simple, and therefore it is parsed as empty string "", in that case eventDefinition will be converted to an empty object
const eventDefinition = bpmnElement[`${eventDefinitionKind}EventDefinition`];
eventDefinitionsByKind.set(eventDefinitionKind, ensureIsArray(eventDefinition, true));
const eventDefinition = bpmnElement[`${eventDefinitionKind}EventDefinition`] as string | RegisteredEventDefinition;
eventDefinitionsByKind.set(eventDefinitionKind, ensureIsArray<RegisteredEventDefinition>(eventDefinition, true));
}

for (const eventDefinitionReference of ensureIsArray<string>(bpmnElement.eventDefinitionRef)) {
Expand Down
Loading