source: imaps-frontend/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 753 bytes
RevLine 
[d565449]1type VisitorKeys$1 = {
2 readonly [type: string]: readonly string[];
3};
4/**
5 * @typedef {{ readonly [type: string]: ReadonlyArray<string> }} VisitorKeys
6 */
7/**
8 * @type {VisitorKeys}
9 */
10declare const KEYS: VisitorKeys$1;
11
12/**
13 * Get visitor keys of a given node.
14 * @param {object} node The AST node to get keys.
15 * @returns {readonly string[]} Visitor keys of the node.
16 */
17declare function getKeys(node: object): readonly string[];
18/**
19 * Make the union set with `KEYS` and given keys.
20 * @param {VisitorKeys} additionalKeys The additional keys.
21 * @returns {VisitorKeys} The union set.
22 */
23declare function unionWith(additionalKeys: VisitorKeys): VisitorKeys;
24
25type VisitorKeys = VisitorKeys$1;
26
27export { KEYS, VisitorKeys, getKeys, unionWith };
Note: See TracBrowser for help on using the repository browser.