I am working on moving an angular 1.x site to a new angular 2.0 site I created the site using angular-cli 1.0.0-beta.15.
I have a button to export some data to a CSV fi
just use this import statment
import * as fileSaver from 'file-saver';