chayns-api 2.4.18 → 2.4.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -273,4 +273,7 @@ export declare const environment: {
|
|
|
273
273
|
buildEnvironment: import("../types/IChaynsReact").Environment;
|
|
274
274
|
runtimeEnvironment: import("../types/IChaynsReact").RuntimeEnviroment | string;
|
|
275
275
|
};
|
|
276
|
+
/**
|
|
277
|
+
* Redirects the user to the given destination. On the server side a 307 or 308 (depending on the isPermanent flag) redirect response is generated. On the client side a window.location.href change is performed.
|
|
278
|
+
*/
|
|
276
279
|
export declare const redirect: (...args: Parameters<ChaynsReactFunctions["redirect"]>) => Promise<void>;
|