Closed mrstork closed 5 months ago
🎉 Thanks for sending this pull request! 🎉
Please make sure the title is clear and descriptive.
If you are fixing a typo or documentation, please skip these instructions.
Otherwise please fill in the sections below.
Which problem is this pull request solving?
See https://github.com/netlify/functions/actions/runs/8939586357/job/24555907790
Describe the solution you've chosen
Remove export block to support node 10 and allow internal to be imported
Describe alternatives you've considered
Linking internal.ts in main.ts, however we look to want to keep these seperate
internal.ts
main.ts
Checklist
Please add a x inside each checkbox:
x
npm run test:publish
npm link @netlify/functions
WHy do you need to remove this?
Oh, I see. What you should insteasd do is leave the imports block and add imports.d.ts at the root, with an export of the dist file
imports.d.ts
Like this: https://github.com/ascorbic/unpic-img/blob/main/packages/react/nextjs.d.ts
🎉 Thanks for sending this pull request! 🎉
Please make sure the title is clear and descriptive.
If you are fixing a typo or documentation, please skip these instructions.
Otherwise please fill in the sections below.
Which problem is this pull request solving?
See https://github.com/netlify/functions/actions/runs/8939586357/job/24555907790
Describe the solution you've chosen
Remove export block to support node 10 and allow internal to be imported
Describe alternatives you've considered
Linking
internal.ts
inmain.ts
, however we look to want to keep these seperateChecklist
Please add a
x
inside each checkbox:npm run test:publish
npm link @netlify/functions