Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
configure typings for readable-stream
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Nov 23, 2023
1 parent d0de0fb commit ca029d1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ module.exports = {
'@metamask/eslint-config-nodejs',
],
},

{
files: ['*.d.ts'],
rules: {
'import/unambiguous': 'off',
},
},
],

ignorePatterns: [
Expand Down
4 changes: 4 additions & 0 deletions src/readable-stream.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* eslint-disable import/no-nodejs-modules */
declare module 'readable-stream' {
export { Duplex, Transform } from 'stream';
}

0 comments on commit ca029d1

Please sign in to comment.