Skip to content

Instantly share code, notes, and snippets.

@djom202
Created July 14, 2022 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djom202/8acf8159647b78b90dd4772c7efd71de to your computer and use it in GitHub Desktop.
Save djom202/8acf8159647b78b90dd4772c7efd71de to your computer and use it in GitHub Desktop.
Paths to the endpoints
import { v4 as uuidv4 } from 'uuid'
export namespace Helpers {
export function randomUUID() {
return uuidv4()
}
}
import { Tools } from './tools'
// Tools.Helpers.randomUUID()
// Tools.Urls.base()
import * as Helpers from './helpers'
import * as Urls from './urls'
export namespace Tools {
export namespace Helpers
export namespace Urls
}
export namespace Urls {
export function base(): string { return this._baseUrl }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment