No vsCode intellisense or type information
Opened this issue · 2 comments
papiro commented
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 commented
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/faker@v5.5.3?dts";
const randomName = faker.name.findName(); // Rowan Nikolaus
const randomEmail = faker.internet.email(); // Kassandra.Haley@erich.biz
const randomCard = faker.helpers.createCard(); // random contact card containing many properties
I very much doubt my version will be maintained.
papiro commented
Hmmm, you get intellisense when using that version?