Skip to content

Commit

Permalink
chore: format js
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Nov 14, 2023
1 parent cebb29c commit ad65c29
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/src/forum/extend.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import Extend from 'flarum/common/extenders';
import Discussion from 'flarum/common/models/Discussion';

export default [new Extend.Model(Discussion).attribute<boolean>('canReset').attribute<number>('views')];
export default [
new Extend.Model(Discussion) //
.attribute<boolean>('canReset')
.attribute<number>('views'),
];

0 comments on commit ad65c29

Please sign in to comment.