Rename Ctor to Options

Co-authored-by: Bruno Windels <brunow@matrix.org>
This commit is contained in:
R Midhun Suresh 2021-12-01 11:21:11 +05:30 committed by RMidhunSuresh
parent b5438f2ba8
commit 3fbf65355d

View file

@ -28,7 +28,7 @@ type RequestMethod = "POST" | "GET" | "PUT";
const CS_R0_PREFIX = "/_matrix/client/r0"; const CS_R0_PREFIX = "/_matrix/client/r0";
const DEHYDRATION_PREFIX = "/_matrix/client/unstable/org.matrix.msc2697.v2"; const DEHYDRATION_PREFIX = "/_matrix/client/unstable/org.matrix.msc2697.v2";
type Ctor = { type Options = {
homeserver: string; homeserver: string;
accessToken: string; accessToken: string;
request: RequestFunction; request: RequestFunction;