Typings folder missing and Promise not available

Hi there

I created a new project and noticed the folder structure to be different which is fine.

However, I noticed that the Typings folder is missing as well as typings.json.
In one if my components I try to return a Promise return Promise.resolve(this.isStarted = true); but Promise is not available I think because of the missing Typings folder.

Is this normal?. Should this be added seperately?

Kind regards

typings have been replaced with @types in ionic 2 rc0

see the changelog: https://github.com/driftyco/ionic/blob/master/CHANGELOG.md#typings

1 Like

RC0 is using TypeScript 2 and ES6 libraries; you shouldn’t need to worry about Promise. Your problem may be with your IDE; see its documentation to figure out how to ask it to use TypeScript 2.

1 Like