版博士V2.0程序
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

RelativeURL.d.ts 409 B

123456789101112131415
  1. /// <reference types="node" />
  2. import Location from './Location';
  3. import { URL } from 'url';
  4. /**
  5. * Helper class for getting the URL relative to a Location object.
  6. */
  7. export default class RelativeURL {
  8. /**
  9. * Returns a URL relative to the given Location object.
  10. *
  11. * @param location Location.
  12. * @param url URL.
  13. */
  14. static getAbsoluteURL(location: Location, url: string): URL;
  15. }