static get idColumn() {
return ['id'] as const;
}
=>
TS2417: Class static side typeof Base incorrectly extends base class static side typeof Model
Types of property idColumn are incompatible.
Type string | readonly string[] is not assignable to type string | string[]
Type readonly string[] is not assignable to type string | string[]
The type readonly string[] is readonly and cannot be assigned to the mutable type string[
cause https://github.com/Vincit/objection.js/blob/main/typings/objection/index.d.ts#L1554
export class Model {
static idColumn: string | string[];