diff --git a/napi/parser/example.mjs b/napi/parser/example.mjs index 2d404fbeef83d..869009ec78530 100644 --- a/napi/parser/example.mjs +++ b/napi/parser/example.mjs @@ -1,7 +1,7 @@ import fs from 'node:fs'; import path from 'node:path'; import { parseArgs } from 'node:util'; -import { parseSync } from './index.js'; +import { parseSync } from './index.mjs'; // usage: // node napi/parser/example.mjs test.ts