node-2fa
node-2fa copied to clipboard
Typing error with notp
When trying to build my code,
I got Module '"/path/node_modules/@types/notp/index"' has no default export
from node_modules/node-2fa/dist/index.d.ts:1:8
After changing
import notp from "notp";
to
import * as notp from "notp";
in index.ts This error got fixed
;)