About the issue with TypeScript support for the currentUser property

An error occurs when using the currentUser property.

Object literal may only specify known properties, and ‘currentUser’ does not exist in type ‘Partial<IKanbanConfig>’.

164 currentUser: ‘1’,

Below is an example code.

const board = new Kanban('#kanban', {
   .....
   currentUser: '1'
}
or
board.setConfig({
   currentUser: '1',
})

Good day @jmh.yy ,
This issue has been fixed in the Kanban 1.5.8 version: What's New | DHTMLX JavaScript Kanban Docs .

1 Like