mirror of https://github.com/vector-im/riot-web
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.pull/21833/head
parent
596c207e5b
commit
50fd24581c
|
@ -22,7 +22,7 @@ import { IConfigOptions, ISsoRedirectOptions } from "./IConfigOptions";
|
|||
import { KeysWithObjectShape } from "./@types/common";
|
||||
|
||||
// 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",
|
||||
integrations_ui_url: "https://scalar.vector.im/",
|
||||
integrations_rest_url: "https://scalar.vector.im/api",
|
||||
|
|
Loading…
Reference in New Issue