Skip to content

Commit

Permalink
fixup: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanlookpotts committed Jan 28, 2025
1 parent 350bab2 commit 7c738e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/switch.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export type { Switch } from './switch/switch';
export { SwitchClient } from './switch/client';
export { SwitchClient } from './switch/client';
8 changes: 6 additions & 2 deletions src/components/switch/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ export class SwitchClient implements Switch {
this.options = options;
}

async setPosition(position: number, extra = {}, callOptions = this.callOptions) {
async setPosition(
position: number,
extra = {},
callOptions = this.callOptions
) {
const request = new SetPositionRequest({
name: this.name,
position,
Expand Down Expand Up @@ -76,4 +80,4 @@ export class SwitchClient implements Switch {
callOptions
);
}
}
}
2 changes: 1 addition & 1 deletion src/components/switch/switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export interface Switch extends Resource {

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

0 comments on commit 7c738e9

Please sign in to comment.