utils.d.ts 501 B

12345678910111213141516171819
  1. /**
  2. * @param {string|(string|undefined)[]} files
  3. * @param {string} context
  4. * @returns {string[]}
  5. */
  6. export function parseFiles(
  7. files: string | (string | undefined)[],
  8. context: string
  9. ): string[];
  10. /**
  11. * @param {string|string[]} patterns
  12. * @param {string|string[]} extensions
  13. * @returns {string[]}
  14. */
  15. export function parseFoldersToGlobs(
  16. patterns: string | string[],
  17. extensions?: string | string[]
  18. ): string[];
  19. export function jsonStringifyReplacerSortKeys(_: string, value: any): any;