This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/models/caldavToken.ts
kolaente 58b0397cec
All checks were successful
continuous-integration/drone/pr Build is passing
fix: caldavToken model typehints
2022-04-02 17:37:52 +02:00

15 lines
284 B
TypeScript

import AbstractModel from './abstractModel'
export default class CaldavTokenModel extends AbstractModel {
constructor(data? : Object) {
super(data)
/** @type {number} */
this.id
if (this.created) {
/** @type {Date} */
this.created = new Date(this.created)
}
}
}