We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following throws the compilation error 'MUUID' only refers to a type, but is being used as a value here.
'MUUID' only refers to a type, but is being used as a value here.
import { MUUID } from 'uuid-mongodb'; const muuid = MUUID.from('393967e0-8de1-11e8-9eb6-529269fb1459');
The text was updated successfully, but these errors were encountered:
To import MUUID with Typescript, you can do one of the following:
with no special Typescript config:
import * as MUUID from 'uuid-mongodb'
With Typescript's esModuleInterop (set tsconfig.json compilerOptions.esModuleInterop: true) and do the following
compilerOptions.esModuleInterop: true
import MUUID from 'uuid-mongodb'
Sorry, something went wrong.
@IGassmann see above comment
Thanks!
cdimascio
No branches or pull requests
The following throws the compilation error
'MUUID' only refers to a type, but is being used as a value here.
The text was updated successfully, but these errors were encountered: