GSI - Employe Self Service Mobile
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
816 B

2 months ago
  1. /**
  2. * Tests if the specified path is absolute.
  3. * @param {string} path Path to test
  4. * @returns {boolean} `true` if path is absolute
  5. */
  6. export function isAbsolute(path: string): boolean;
  7. /**
  8. * Normalizes the specified path.
  9. * @param {string} path Path to normalize
  10. * @returns {string} Normalized path
  11. */
  12. export function normalize(path: string): string;
  13. /**
  14. * Resolves the specified include path against the specified origin path.
  15. * @param {string} originPath Path to the origin file
  16. * @param {string} includePath Include path relative to origin path
  17. * @param {boolean} [alreadyNormalized=false] `true` if both paths are already known to be normalized
  18. * @returns {string} Path to the include file
  19. */
  20. export function resolve(originPath: string, includePath: string, alreadyNormalized?: boolean): string;