@mbrookson wrote:
I have installed typings using
npm install typings -g, then runtypings install sequelize --ambient --saveto install sequelize into my Ionic 2 project.I cannot work out how I can import Sequelize into my app classes and use it!
If I try to do
import * as Sequelize from 'sequelize'orimport {Sequelize} from 'sequelize'I get the following build error...Module build failed: Error: Cannot resolve module 'sequelize'Would anyone be able to help me?
Thanks!
Posts: 2
Participants: 2