Skip to content

Commit 20ba7da

Browse files
committed
Format with Prettier
1 parent b1cde39 commit 20ba7da

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/WidgetApi.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,7 @@ export class WidgetApi extends EventEmitter {
142142
* the API will use the widget ID from the first valid request it receives.
143143
* @param {string} clientOrigin The origin of the client, or null if not known.
144144
*/
145-
public constructor(
146-
widgetId: string | null = null,
147-
clientOrigin: string | null = null,
148-
) {
145+
public constructor(widgetId: string | null = null, clientOrigin: string | null = null) {
149146
super();
150147
if (!globalThis.parent) {
151148
throw new Error("No parent window. This widget doesn't appear to be embedded properly.");

0 commit comments

Comments
 (0)