Typescript compilation error (framework7 5.0.3)

Today, I have upgrade from Framework7 v4.5.1 to v5.0.3. I am using Typescript.

There is a new compilation error in the file text-editor.d.ts. I think

buttons?: string[] | Array[]

should be

buttons?: string[] | Array<string>[]

At least, it solves my problem. See the complete error below :

ERROR in …/node_modules/framework7/components/text-editor/text-editor.d.ts
15:26 Generic type ‘Array’ requires 1 type argument(s).
13 | palceholder?: string
14 | /** Set of editor toolbar buttons */

15 | buttons?: string[] | Array[]
| ^
16 | /** Define custom buttons /
17 | customButtons?: object
18 | /
* Adds visual divider between buttons group (default true) */

Thanks, will add this fix