Skip to content

Commit e927f61

Browse files
committed
Fix code for change in TypeScript
1 parent 302111e commit e927f61

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

lib/file-pipeline/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import {transform} from './transform.js'
4242

4343
// This pipeline ensures each of the pipes always runs: even if the read pipe
4444
// fails, queue and write run.
45+
/** @type {Pipeline} */
4546
export const filePipeline = trough()
4647
.use(chunk(trough().use(configure).use(read).use(parse).use(transform)))
4748
.use(chunk(trough().use(queue)))

lib/file-set-pipeline/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
/**
2+
* @import {Pipeline} from 'trough'
3+
*/
4+
15
import {trough} from 'trough'
26
import {configure} from './configure.js'
37
import {fileSystem} from './file-system.js'
48
import {log} from './log.js'
59
import {stdin} from './stdin.js'
610
import {transform} from './transform.js'
711

12+
/** @type {Pipeline} */
813
export const fileSetPipeline = trough()
914
.use(configure)
1015
.use(fileSystem)

0 commit comments

Comments
 (0)