Skip to content

Commit

Permalink
Fix two more tsc issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
daemontus committed May 20, 2024
1 parent 5dfcb1e commit 57b1ff4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const nameColumn: ColumnDefinition = {

export const tabulatorOptions: Options = {
layout: 'fitData',
resizableColumnFit: true,
// resizableColumnFit: true,
pagination: true,
renderVerticalBuffer: 300,
sortMode: 'local',
Expand Down
3 changes: 1 addition & 2 deletions src/html/component/regulations-editor/regulations-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ export class RegulationsEditor extends LitElement {
this.toggleMenu(ElementType.NONE)
const variableId = (event as CustomEvent).detail.id

// start attribute wrongly typed - added weird typecast to avoid tslint error
this.edgeHandles?.start((this.cy?.$id(variableId) as unknown as string))
this.edgeHandles?.start(this.cy?.$id(variableId))
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error renderer exists but its missing from the *.d.ts file
this.cy.renderer().hoverData.capture = true
Expand Down

0 comments on commit 57b1ff4

Please sign in to comment.