chromium/ash/webui/common/resources/cr_elements/cr_drawer/cr_drawer_externs.js

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/* Minimal externs file provided for places in the code that
 * still use JavaScript instead of TypeScript.
 * @externs
 */

/**
 * @constructor
 * @extends {HTMLElement}
 */
function CrDrawerElement() {}

CrDrawerElement.prototype.cancel = function() {};
CrDrawerElement.prototype.openDrawer = function() {};
CrDrawerElement.prototype.wasCanceled = function() {};