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

update pnpm #1649

Merged
merged 5 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
"volta": {
"node": "16.20.0",
"pnpm": "8.6.7"
"pnpm": "8.9.2"
},
"changelog": {
"__comment__": "Our release infrastructure relies on these exact labels. Be careful changing them.",
Expand Down
3 changes: 2 additions & 1 deletion packages/macros/src/babel/error.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { NodePath } from '@babel/traverse';

export default function error(path: NodePath, message: string) {
return path.buildCodeFrameError(message, MacroError);
// this typecast is to workaround an issue in @types/babel__traverse https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/67183
return path.buildCodeFrameError(message, MacroError as unknown as ErrorConstructor);
}

class MacroError extends Error {
Expand Down
Loading
Loading