Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public createItem( item : IItem, content: any, folder?: string){
return createItem({
item: item,
text: this.getSafeData(content),
folderId: folder,
authentication: this.authentication,
portal: this.restURL,
});
}