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 recent version of esbuild (v0.8.48) started to fail when bundling TS code containing this function:
export function mapDoc<T>(doc: firebase.firestore.DocumentSnapshot): T | null { return doc.exists ? (({ id: doc.id, ...doc.data() } as unknown) as T) : null }
Here is the message returned by esbuild
errors: [ { detail: undefined, location: { ... lineText: ' return doc.exists ? (({ id: doc.id, ...doc.data() } as unknown) as T) : null', ... }, notes: [], text: 'Unexpected "(" before object pattern' } ],
This is recent - v0.8.47 works as expected
The text was updated successfully, but these errors were encountered:
Sorry about that. These are errors from speculative parsing that shouldn't be leaking into the final log when speculative parsing fails. Will fix.
Sorry, something went wrong.
f6dc899
Successfully merging a pull request may close this issue.
The recent version of esbuild (v0.8.48) started to fail when bundling TS code containing this function:
Here is the message returned by esbuild
This is recent - v0.8.47 works as expected
The text was updated successfully, but these errors were encountered: