Skip to content

Commit

Permalink
Fix JS Doc Annotation
Browse files Browse the repository at this point in the history
Migrated off of JS Doc to a method annotation instead.
  • Loading branch information
elliot-huffman committed May 1, 2024
1 parent 9735ecc commit 02d3832
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3122,11 +3122,7 @@ class Connection extends EventEmitter {
}
}

/**
* @private
*/
makeRequest(request: Request | BulkLoad, packetType: number, payload: (Iterable<Buffer> | AsyncIterable<Buffer>) & { toString: (indent?: string) => string }) {
makeRequest(request: Request | BulkLoad, packetType: number, payload: (Iterable<Buffer> | AsyncIterable<Buffer>) & { toString: (indent?: string) => string; }) {
private makeRequest(request: Request | BulkLoad, packetType: number, payload: (Iterable<Buffer> | AsyncIterable<Buffer>) & { toString: (indent?: string) => string; }) {

Check failure on line 3125 in src/connection.ts

View workflow job for this annotation

GitHub Actions / Linting

Unexpected separator (;)
if (this.state !== this.STATE.LOGGED_IN) {
const message = 'Requests can only be made in the ' + this.STATE.LOGGED_IN.name + ' state, not the ' + this.state.name + ' state';
this.debug.log(message);
Expand Down

0 comments on commit 02d3832

Please sign in to comment.