swc-project/website

Question about documentation

Ivanmatthew opened this issue · 4 comments

The following line, what does it mean?

`@swc/core` provides appropriate `.d.ts` file, so you may not need this. Returns `Promise<{ code: string, map?: string }>`

Thank you.

I'm not sure, I just did the conversion / update of the documentation site, I didn't write the content.

Based on what's written, it suggests that the types file will have more / better information than this particular file.

kdy1 commented

It means you may not need to read documentation for typing, as your IDE will show one