Currently utilizing Angular 2 in a project that is compiled with TypeScript.
Encountering an issue when attempting to generate a blob image:
Error TS2339: Property 'webkitURL' does not exist on type 'Window'
The TypeScript code causing the error is:
public url = window.URL || window.webkitURL;
this.photo = this.url.createObjectURL( res );