Skip to content

Commit 456442d

Browse files
committed
fix: rename Extension::construct to Extension::init
1 parent e5e21e2 commit 456442d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

web-client/iron-remote-desktop-rdp/src/interfaces/Extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
type ExtensionValue = { Pcb: string } | { KdcProxyUrl: string } | { DisplayControl: boolean };
22

33
export class Extension {
4-
static construct(ident: string, value: unknown): ExtensionValue {
4+
static init(ident: string, value: unknown): ExtensionValue {
55
switch (ident) {
66
case 'Pcb':
77
if (typeof value === 'string') {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ExtensionValue } from './ExtensionValue';
22

33
export interface Extension {
4-
construct(ident: string, value: unknown): ExtensionValue;
4+
init(ident: string, value: unknown): ExtensionValue;
55
}

0 commit comments

Comments
 (0)