Skip to content

Commit

Permalink
style: 🎨 fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
meisZWFLZ committed Dec 18, 2023
1 parent 149d258 commit 440d11d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
6 changes: 5 additions & 1 deletion examples/upload.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { serial } from "node-web-serial-ponyfill";
import { ProgramIniConfig, V5SerialDevice, type ZerobaseSlotNumber } from "../src";
import {
ProgramIniConfig,
V5SerialDevice,
type ZerobaseSlotNumber,
} from "../src";

import fs from "fs";

Expand Down
5 changes: 4 additions & 1 deletion src/VexEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ export class VexEventTarget {
this.emitter.on(String(eventName), listener);
}

remove(eventName: string | symbol, listener: (...args: unknown[]) => void): void {
remove(
eventName: string | symbol,
listener: (...args: unknown[]) => void,
): void {
this.emitter.remove(String(eventName), listener);
}

Expand Down
6 changes: 4 additions & 2 deletions src/VexIniConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,10 @@ export class ProgramIniConfig {
)
.addComment("")
.addSection(
new IniSectionBuilder("config", this.config, (k) =>
"port_" + this.dec2(k),
new IniSectionBuilder(
"config",
this.config,
(k) => "port_" + this.dec2(k),
).addAllObjProps(),
)
.addComment("")
Expand Down

0 comments on commit 440d11d

Please sign in to comment.