carbon-custom-elements
Version:
A Carbon Design System variant that's as easy to use as native HTML elements, with no framework tax, no framework silo.
1 lines • 753 B
Source Map (JSON)
{"version":3,"sources":["globals/internal/handle.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,MAAM;IAC7B;;;OAGG;IACH,OAAO,IAAI,IAAI,CAAC;CACjB","file":"handle.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * An object to keep track of things that can be cleaned up.\n */\nexport default interface Handle {\n /**\n * Releases the thing that this object is keeping track of.\n * For example, if this `Handle` is keeping track of an event listener, this `release()` method removes the event listener.\n */\n release(): null;\n}\n"]}