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
On versions 0.4.3 and 0.4.4 the loaded object only has a default property, which is an empty object... and has no other properties in the root object or in default.
Whereas on 0.4.2 I get this, and it works.
The text was updated successfully, but these errors were encountered:
Oops, sorry for breaking that. The pretty-print-json module definition was changed to be a "named" export when the library was converted to TypeScript.
The standard import now should be done with curly braces:
import{prettyPrintJson}from'pretty-print-json';
For a dynamic import, the Promise will return a module to be used like:
I'm dynamically importing pretty-print-json.
On versions 0.4.3 and 0.4.4 the loaded object only has a default property, which is an empty object... and has no other properties in the root object or in default.
Whereas on 0.4.2 I get this, and it works.
The text was updated successfully, but these errors were encountered: