Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
declare var
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
https://stackblitz.com/edit/vitejs-vite-ldof7q7z?file=package.json
Run pnpm run build, then check the declaration file under dist.
pnpm run build
dist
Expected result: No type error.
Actual result: Get an error Cannot find name 'obj'.
Cannot find name 'obj'
Will be correct if change var to let.
var
let
Please answer these questions to help us investigate your issue more quickly:
@microsoft/api-extractor
node -v
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
https://stackblitz.com/edit/vitejs-vite-ldof7q7z?file=package.json
Repro steps
Run
pnpm run build
, then check the declaration file underdist
.Expected result: No type error.
Actual result: Get an error
Cannot find name 'obj'
.Details
Will be correct if change
var
tolet
.Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/api-extractor
version?node -v
)?The text was updated successfully, but these errors were encountered: