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
Simply const safeJsonStringify = require('safe-json-stringify'); doesn't work in Angular 4. Because we have import statements in Angular 2, 4+ vesrion. require() is not supported any more. If stringify is exported as class then we can import that class in Angular 4.
Could you tell me "Is it supported for this Angular 4 application ?". If yes, tell me how to use it.
Thanks inadvance!!
The text was updated successfully, but these errors were encountered:
Simply
const safeJsonStringify = require('safe-json-stringify');
doesn't work in Angular 4. Because we have import statements in Angular 2, 4+ vesrion.require()
is not supported any more. Ifstringify
is exported as class then we can import that class in Angular 4.Could you tell me "Is it supported for this Angular 4 application ?". If yes, tell me how to use it.
Thanks inadvance!!
The text was updated successfully, but these errors were encountered: