index.d.ts 596 B

12345678910111213141516
  1. /**
  2. * Get visitor keys of a given node.
  3. * @param {Object} node The AST node to get keys.
  4. * @returns {readonly string[]} Visitor keys of the node.
  5. */
  6. export function getKeys(node: Object): readonly string[];
  7. /**
  8. * Make the union set with `KEYS` and given keys.
  9. * @param {VisitorKeys} additionalKeys The additional keys.
  10. * @returns {VisitorKeys} The union set.
  11. */
  12. export function unionWith(additionalKeys: VisitorKeys): VisitorKeys;
  13. export { KEYS };
  14. export type VisitorKeys = import("./visitor-keys.js").VisitorKeys;
  15. import KEYS from "./visitor-keys.js";
  16. //# sourceMappingURL=index.d.ts.map