typedsocket/ts/index.ts

7 lines
301 B
TypeScript
Raw Normal View History

2023-03-29 11:45:33 +00:00
import * as plugins from './typedsocket.plugins.js';
2022-03-24 21:46:08 +00:00
export * from './typedsocket.classes.typedsocket.js';
2023-03-29 11:45:33 +00:00
export const useWindowLocationOriginUrl = () => {
const windowLocationResult = plugins.smarturl.Smarturl.createFromUrl(globalThis.location.origin).toString();
return windowLocationResult;
}