wasm-vips 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/lib/vips.d.ts CHANGED
@@ -142,8 +142,9 @@ declare module Vips {
142
142
 
143
143
  /**
144
144
  * Signal that a C++ object is no longer needed and can be deleted later.
145
+ * @return `this`.
145
146
  */
146
- deleteLater(): void;
147
+ deleteLater(): T;
147
148
 
148
149
  /**
149
150
  * Check whether two Embind handles point to the same underlying object.
@@ -157,6 +158,12 @@ declare module Vips {
157
158
  * @return `true` if this handle is deleted.
158
159
  */
159
160
  isDeleted(): boolean;
161
+
162
+ /**
163
+ * Prevents the C++ object from being auto deleted.
164
+ * @return `this`.
165
+ */
166
+ preventAutoDelete(): T;
160
167
  }
161
168
 
162
169
  /**
@@ -969,7 +976,7 @@ declare module Vips {
969
976
  * @param name The name of the piece of metadata to remove.
970
977
  * @return `true` if successfully removed.
971
978
  */
972
- remove(name: string): string;
979
+ remove(name: string): boolean;
973
980
 
974
981
  //#endregion
975
982