format-code-as-indented.d.ts 335 B

123456789101112
  1. /**
  2. * @typedef {import('mdast').Code} Code
  3. * @typedef {import('../types.js').State} State
  4. */
  5. /**
  6. * @param {Code} node
  7. * @param {State} state
  8. * @returns {boolean}
  9. */
  10. export function formatCodeAsIndented(node: Code, state: State): boolean;
  11. export type Code = import('mdast').Code;
  12. export type State = import('../types.js').State;