mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
Fix incorrect typing on SdkConfig defaults (#8147)
It's not a partial anymore - it's a full-fledged object with proper types. Without this change, `SdkConfig.put(DEFAULTS)` is broken.
This commit is contained in:
parent
596c207e5b
commit
50fd24581c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ import { IConfigOptions, ISsoRedirectOptions } from "./IConfigOptions";
|
||||||
import { KeysWithObjectShape } from "./@types/common";
|
import { KeysWithObjectShape } from "./@types/common";
|
||||||
|
|
||||||
// see element-web config.md for docs, or the IConfigOptions interface for dev docs
|
// see element-web config.md for docs, or the IConfigOptions interface for dev docs
|
||||||
export const DEFAULTS: Partial<IConfigOptions> = {
|
export const DEFAULTS: IConfigOptions = {
|
||||||
brand: "Element",
|
brand: "Element",
|
||||||
integrations_ui_url: "https://scalar.vector.im/",
|
integrations_ui_url: "https://scalar.vector.im/",
|
||||||
integrations_rest_url: "https://scalar.vector.im/api",
|
integrations_rest_url: "https://scalar.vector.im/api",
|
||||||
|
|
Loading…
Reference in a new issue