URI.js.flow 391 B

12345678910111213141516171819202122232425
  1. /**
  2. * Copyright (c) 2013-present, Facebook, Inc.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. *
  7. * @providesModule URI
  8. * @flow
  9. */
  10. 'use strict';
  11. class URI {
  12. _uri: string;
  13. constructor(uri: string) {
  14. this._uri = uri;
  15. }
  16. toString(): string {
  17. return this._uri;
  18. }
  19. }
  20. module.exports = URI;