Skip to content
New issue

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

No vsCode intellisense or type information #3

Open
papiro opened this issue Jan 24, 2022 · 2 comments
Open

No vsCode intellisense or type information #3

papiro opened this issue Jan 24, 2022 · 2 comments

Comments

@papiro
Copy link

papiro commented Jan 24, 2022

I would expect when importing faker that I can introspect the available methods. Typing in faker. doesn't bring up the methods, and when I fill in a method, there is no documentation and no return type information.

@jackfiszr
Copy link
Owner

Apparently @faker-js/faker is now the official Faker, and it works in Deno when imported from skypack:

import faker from "https://cdn.skypack.dev/@faker-js/[email protected]?dts";

const randomName = faker.name.findName(); // Rowan Nikolaus
const randomEmail = faker.internet.email(); // [email protected]
const randomCard = faker.helpers.createCard(); // random contact card containing many properties

I very much doubt my version will be maintained.

@papiro
Copy link
Author

papiro commented Jan 24, 2022

Hmmm, you get intellisense when using that version?

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

No branches or pull requests

2 participants