Skip to content

Commit 9ebe124

Browse files
authored
chore: fix typos (#3)
1 parent 8db671c commit 9ebe124

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/_polyfill/events/events.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class EventEmitter implements NodeEventEmitter {
8484
static kMaxEventTargetListenersWarned = kMaxEventTargetListenersWarned;
8585

8686
// Static utils
87-
static usingDomains = false; // backwards compatibilit
87+
static usingDomains = false; // backwards compatibility
8888
static get on() {
8989
return on;
9090
}

src/stream/readable.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class Readable extends EventEmitter implements NodeStream.Readable {
7575
return this;
7676
}
7777

78-
pipe<T>(_destenition: T, _options?: { end?: boolean }): T {
78+
pipe<T>(_destination: T, _options?: { end?: boolean }): T {
7979
return {} as T;
8080
}
8181

test/index.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe("fetchNodeRequestHandler", () => {
3131
});
3232
});
3333

34-
it("heaaders (object)", async () => {
34+
it("headers (object)", async () => {
3535
const res = await fetchNodeRequestHandler(echoHandler, "/test", {
3636
headers: { foo: "bar", empty: "" },
3737
});
@@ -41,7 +41,7 @@ describe("fetchNodeRequestHandler", () => {
4141
});
4242
});
4343

44-
it("heaaders (Headers)", async () => {
44+
it("headers (Headers)", async () => {
4545
const res = await fetchNodeRequestHandler(echoHandler, "/test", {
4646
headers: new Headers({ foo: "bar", empty: "" }),
4747
});
@@ -51,7 +51,7 @@ describe("fetchNodeRequestHandler", () => {
5151
});
5252
});
5353

54-
it("heaaders (array)", async () => {
54+
it("headers (array)", async () => {
5555
const res = await fetchNodeRequestHandler(echoHandler, "/test", {
5656
headers: [
5757
["foo", "bar"],

0 commit comments

Comments
 (0)