Skip to content

Commit

Permalink
Merge pull request #19 from ovos/typings-id-column-readonly
Browse files Browse the repository at this point in the history
typings: make idColumn array readonly
  • Loading branch information
falkenhawk authored Dec 16, 2024
2 parents 8abe07c + 38b9f05 commit f79e1c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/objection/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@ declare namespace Objection {
QueryBuilder: typeof QueryBuilder;

tableName: string;
idColumn: string | string[];
idColumn: string | readonly string[];
jsonSchema: JSONSchema;
relationMappings: RelationMappings | RelationMappingsThunk;
modelPaths: string[];
Expand Down Expand Up @@ -1553,7 +1553,7 @@ declare namespace Objection {
static QueryBuilder: typeof QueryBuilder;

static tableName: string;
static idColumn: string | string[];
static idColumn: string | readonly string[];
static jsonSchema: JSONSchema;
static relationMappings: RelationMappings | RelationMappingsThunk;
static modelPaths: string[];
Expand Down

0 comments on commit f79e1c3

Please sign in to comment.