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 03ef301 commit 64e7e0e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/src/@types/shims.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
declare module 'flarum/common/models/User' {
export default interface User {
canEditNickname(): boolean;
}
}

0 comments on commit 64e7e0e

Please sign in to comment.