Skip to content

Typing error with notp#28

Open
OceanTechnic wants to merge 1 commit intojeremyscalpello:masterfrom
OceanTechnic:master
Open

Typing error with notp#28
OceanTechnic wants to merge 1 commit intojeremyscalpello:masterfrom
OceanTechnic:master

Conversation

@OceanTechnic
Copy link

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

;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant