summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/catapult/third_party/polymer2/bower_components/polymer/types/lib/legacy/polymer-fn.d.ts
blob: bd881fd746724639f7913ec2e9911193d9bf140c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 * DO NOT EDIT
 *
 * This file was automatically generated by
 *   https://github.com/Polymer/gen-typescript-declarations
 *
 * To modify these typings, edit the source file(s):
 *   lib/legacy/polymer-fn.html
 */

/// <reference path="class.d.ts" />


/**
 * Legacy class factory and registration helper for defining Polymer
 * elements.
 *
 * This method is equivalent to
 * `customElements.define(info.is, Polymer.Class(info));`
 *
 * See `Polymer.Class` for details on valid legacy metadata format for `info`.
 *
 * @returns Generated class
 */
declare function Polymer(info: PolymerInit): {new(): HTMLElement};