The getParameters method currently requires the value under content (which is a property of a file) to be a string:
But in the docs, it's specified that content under package.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
getParametersmethod 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
contentunderpackage.jsoncan be an object.Either the documentation or the type signature on
getParametersshould be updated accordingly. I currently can't use an object in TS.