Skip to content

Commit

Permalink
fix: resolve regression in typing errors (#4097)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca authored Oct 26, 2024
1 parent 0268d80 commit a020d8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/src/@types/shims.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'flarum/common/models/Discussion';

declare module 'flarum/common/models/Discussion' {
export default interface Discussion {
isSticky(): boolean;
Expand Down

0 comments on commit a020d8d

Please sign in to comment.