Skip to content

Commit

Permalink
Update BindToClose Callback (#1296)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neohertz authored Aug 31, 2024
1 parent 54d6de3 commit 7a80ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/customDefinitions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ interface ContextActionService extends Instance {

interface DataModel extends ServiceProvider<Services> {
readonly Workspace: Workspace;
BindToClose(this: DataModel, callback: () => void): void;
BindToClose(this: DataModel, callback: (reason: Enum.CloseReason) => void): void;
}

interface DataStore extends GlobalDataStore {
Expand Down

0 comments on commit 7a80ae2

Please sign in to comment.