aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/BaseModel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/models/BaseModel.ts')
-rw-r--r--src/lib/models/BaseModel.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/models/BaseModel.ts b/src/lib/models/BaseModel.ts
index 340e0aa..f1521dd 100644
--- a/src/lib/models/BaseModel.ts
+++ b/src/lib/models/BaseModel.ts
@@ -5,13 +5,13 @@ export abstract class BaseModel<A, B> extends Model<A, B> {
* The date when the row was created.
*/
public get createdAt(): Date {
- return null;
+ throw new Error('This should never be executed');
}
/**
* The date when the row was last updated.
*/
public get updatedAt(): Date {
- return null;
+ throw new Error('This should never be executed');
}
}