Skip to content

Commit

Permalink
chore: add shim declerations (#40)
Browse files Browse the repository at this point in the history
* chore: add shim declerations

* style: run prettier
  • Loading branch information
DavideIadeluca committed Jul 9, 2024
1 parent 94c149d commit 7f94032
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/src/@types/shims.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module 'flarum/common/models/Discussion' {
export default interface Discussion {
canReset(): boolean;
views(): number;
}
}

0 comments on commit 7f94032

Please sign in to comment.