Skip to content

Commit 8afb7e0

Browse files
fixup: lint
1 parent 134b148 commit 8afb7e0

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

src/components/switch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export type { Switch } from './switch/switch';
2-
export { SwitchClient } from './switch/client';
2+
export { SwitchClient } from './switch/client';

src/components/switch/client.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ export class SwitchClient implements Switch {
2828
this.options = options;
2929
}
3030

31-
async setPosition(position: number, extra = {}, callOptions = this.callOptions) {
31+
async setPosition(
32+
position: number,
33+
extra = {},
34+
callOptions = this.callOptions
35+
) {
3236
const request = new SetPositionRequest({
3337
name: this.name,
3438
position,
@@ -76,4 +80,4 @@ export class SwitchClient implements Switch {
7680
callOptions
7781
);
7882
}
79-
}
83+
}

src/components/switch/switch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export interface Switch extends Resource {
1111

1212
/** Get the total number of positions available on the switch. */
1313
getNumberOfPositions: (extra?: Struct) => Promise<number>;
14-
}
14+
}

0 commit comments

Comments
 (0)