Typescript build error in butter.d.ts
Jacob-Bass opened this issue · 4 comments
Jacob-Bass commented
butter.d.ts is throwing an error when I try to build my project using typescript.
declare module "buttercms" {
export = Butter; <-- This line throwing error
}
Error: "Exports and export assignments are not permitted in module augmentations."
jakelumetta commented
Thanks @Jacob-Bass - will take a look at this.
jakelumetta commented
@jkelin Can you confirm you run into the same issue when using typescript? I believe this line may be causing some issues: e470ba8#diff-7af3c5bb3871283c4aedd61de987d242R1
jkelin commented
My apologies. I can confirm that this has been triggered by my change. I am not sure how this could have slipped through my initial testing.
jakelumetta commented
Thanks @jkelin ! @Jacob-Bass we've deployed this updated version. Can you confirm it fixes your issue?