We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Model
1 parent 4b0df34 commit 287b2d1Copy full SHA for 287b2d1
CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
8
## [Unreleased]
9
10
+### Changed
11
+
12
+- Remove index signature from `Model`
13
14
## [0.2.0-beta.3] - 2024-09-03
15
16
### Added
src/model.ts
@@ -12,8 +12,6 @@ class ModelBase<Schema extends JsonApiResource = JsonApiResource> {
public meta: Schema['meta'] = {};
public links: Schema['links'] = {};
- [field: string]: any;
-
17
constructor(data: Schema) {
18
this.type = data.type;
19
this.id = data.id;
0 commit comments