You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening the issue @juliannaroen! You're right, the docs are a bit wrong and we should update them. We're currently in the middle of rewriting the git importer into our Elixir server (instead of having it here as a standalone) and once we've done that we'll be completely rewriting some of the docs, especially the ones for the define endpoint.
In the meantime I'll try and make a small change to the docs to clarify what should be used now and let you know when I've done this. Hopefully next week.
The
getParameters
method currently requires the value undercontent
(which is a property of a file) to be astring
:codesandbox-importers/packages/import-utils/src/api/define.ts
Line 6 in e68dcdd
But in the docs, it's specified that
content
underpackage.json
can be an object.Either the documentation or the type signature on
getParameters
should be updated accordingly. I currently can't use an object in TS.The text was updated successfully, but these errors were encountered: