Skip to content

Commit 287b2d1

Browse files
committed
Remove index signature from Model
1 parent 4b0df34 commit 287b2d1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Remove index signature from `Model`
13+
1014
## [0.2.0-beta.3] - 2024-09-03
1115

1216
### Added

src/model.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ class ModelBase<Schema extends JsonApiResource = JsonApiResource> {
1212
public meta: Schema['meta'] = {};
1313
public links: Schema['links'] = {};
1414

15-
[field: string]: any;
16-
1715
constructor(data: Schema) {
1816
this.type = data.type;
1917
this.id = data.id;

0 commit comments

Comments
 (0)