Skip to content

Commit a73a22b

Browse files
🤖 dprint fmt
1 parent dd9309f commit a73a22b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

types/buffercursor/buffercursor-tests.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import BufferCursor from 'buffercursor';
2-
import { Buffer } from 'node:buffer';
1+
import BufferCursor from "buffercursor";
2+
import { Buffer } from "node:buffer";
33

44
const buffer = Buffer.from([0x00, 0x01, 0x02, 0x03]);
55
const cursor = new BufferCursor(buffer);
@@ -24,7 +24,7 @@ try {
2424
cursor.seek(100);
2525
} catch (error) {
2626
if (error instanceof BufferCursor.BufferCursorOverflow) {
27-
console.log('Caught overflow error as expected');
27+
console.log("Caught overflow error as expected");
2828
}
2929
}
3030

@@ -43,5 +43,5 @@ cursor.seek(buffer.length - 1);
4343
try {
4444
cursor.readUInt16BE();
4545
} catch (error) {
46-
console.log('Caught boundary overflow error as expected');
46+
console.log("Caught boundary overflow error as expected");
4747
}

types/buffercursor/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="node" />
22

3-
import VError = require('verror');
3+
import VError = require("verror");
44

55
/**
66
* A cursor for reading from and writing to a buffer.
@@ -66,4 +66,4 @@ declare class BufferCursorOverflow extends VError {
6666
constructor(length: number, position: number, size: number);
6767
}
6868

69-
export = BufferCursor;
69+
export = BufferCursor;

0 commit comments

Comments
 (0)