Skip to content

Commit

Permalink
Fix type definition for deleteLater function
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Jul 21, 2024
1 parent 5e3e0f7 commit 558c1da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build/preamble_vips.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,9 @@ declare module Vips {

/**
* Signal that a C++ object is no longer needed and can be deleted later.
* @return `this`.
*/
deleteLater(): void;
deleteLater(): T;

/**
* Check whether two Embind handles point to the same underlying object.
Expand Down
3 changes: 2 additions & 1 deletion lib/vips.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 558c1da

Please sign in to comment.