From 524bc217cc1709948d25fd0ac9ff978b38367974 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 12 Aug 2022 10:29:52 +0200 Subject: [PATCH] fix: remove native `node:fs` import --- src/runtime/node/fs/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/node/fs/index.ts b/src/runtime/node/fs/index.ts index 5354ab29..94b86340 100644 --- a/src/runtime/node/fs/index.ts +++ b/src/runtime/node/fs/index.ts @@ -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' @@ -16,6 +16,6 @@ export const promises = _promises export default { ..._classes, ..._constants, - ...fs, + ..._fs, promises }