Provide externs for FinalizationRegistry
@@ -2035,6 +2035,31 @@ function WeakRef(value) {}
*/
WeakRef.prototype.deref = function() {};
+/**
+ * @constructor
+ * @struct
+ * @param {function(HOLDINGS)} cleanupCallback
+ * @template TARGET, HOLDINGS, TOKEN
+ * @nosideeffects
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry
+ */
+function FinalizationRegistry(cleanupCallback) {}
+
+/**
+ * @param {TARGET} target
+ * @param {HOLDINGS} holdings
+ * @param {TOKEN=} unregisterToken
+ * @return {void}
+ */
+FinalizationRegistry.prototype.register =
+ function(target, holdings, unregisterToken) {};
+
+/**
+ * @param {TOKEN} unregisterToken
+ * @return {void}
+ */
+FinalizationRegistry.prototype.unregister = function(unregisterToken) {};
+
/**
* @type {!Global}
*/
