Skip to content

Commit

Permalink
fix: remove native node:fs import
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 12, 2022
1 parent f0c2db7 commit 524bc21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/node/fs/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// https://nodejs.org/api/fs.html
import fs from 'node:fs'
import type fs from 'node:fs'

import * as _classes from './_classes'
import * as _constants from './_constants'
Expand All @@ -16,6 +16,6 @@ export const promises = _promises
export default <typeof fs> {
..._classes,
..._constants,
...fs,
..._fs,
promises
}

0 comments on commit 524bc21

Please sign in to comment.