Skip to content

Commit 5ff91bc

Browse files
committed
fix(napi/parser): fix example (#13887)
Import path in `napi/parser` example was wrong. The entry point is now `index.mjs`.
1 parent 2cef8ec commit 5ff91bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

napi/parser/example.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'node:fs';
22
import path from 'node:path';
33
import { parseArgs } from 'node:util';
4-
import { parseSync } from './index.js';
4+
import { parseSync } from './index.mjs';
55

66
// usage:
77
// node napi/parser/example.mjs test.ts

0 commit comments

Comments
 (0)