util.d.ts 858 B

123456789101112131415161718
  1. export declare function getLineTerminator(): any;
  2. export declare function isBrowser(): boolean;
  3. export declare function getOption(options: any, key: any, defaultValue: any): any;
  4. export declare function getUnionOfKeys(...args: any[]): any;
  5. export declare function comparePos(pos1: any, pos2: any): number;
  6. export declare function copyPos(pos: any): {
  7. line: any;
  8. column: any;
  9. };
  10. export declare function composeSourceMaps(formerMap: any, latterMap: any): any;
  11. export declare function getTrueLoc(node: any, lines: any): {
  12. start: any;
  13. end: any;
  14. } | null;
  15. export declare function fixFaultyLocations(node: any, lines: any): void;
  16. export declare function isExportDeclaration(node: any): boolean;
  17. export declare function getParentExportDeclaration(path: any): any;
  18. export declare function isTrailingCommaEnabled(options: any, context: any): boolean;