Skip to content

Commit

Permalink
[1.x] [extensibility] Add (some) missing shims (#4027)
Browse files Browse the repository at this point in the history
* chore: add some missing shims

* chore: remove unused import
  • Loading branch information
DavideIadeluca authored Oct 2, 2024
1 parent e4f1f35 commit 0268d80
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 {
isSticky(): boolean;
canSticky(): boolean;
}
}

0 comments on commit 0268d80

Please sign in to comment.