Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Aug 16, 2023
1 parent 8e01c92 commit b2e06a7
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/browser-readablestream-to-it/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export interface BrowserReadableStreamToItOptions {
preventCancel?: boolean
}
Expand Down
1 change: 0 additions & 1 deletion packages/it-ndjson/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@

export { default as parse } from './parse.js'
export { default as stringify } from './stringify.js'
1 change: 0 additions & 1 deletion packages/it-ndjson/src/parse.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export default async function * parse <T> (source: AsyncIterable<Uint8Array | string> | Iterable<Uint8Array | string>): AsyncGenerator<T, void, undefined> {
const matcher = /\r?\n/
const decoder = new TextDecoder('utf8')
Expand Down
1 change: 0 additions & 1 deletion packages/it-ndjson/src/stringify.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export default async function * stringify (source: AsyncIterable<any> | Iterable<any>): AsyncGenerator<string, void, undefined> {
for await (const obj of source) {
yield JSON.stringify(obj) + '\n'
Expand Down
1 change: 0 additions & 1 deletion packages/it-peekable/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

interface Peek <T> {
peek: () => IteratorResult<T, undefined>
}
Expand Down
1 change: 0 additions & 1 deletion packages/it-to-browser-readablestream/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

interface SourceExt {
_cancelled: boolean
}
Expand Down

0 comments on commit b2e06a7

Please sign in to comment.