0

So I have this bit of code enter image description here

As you can see, module and IStateProvider are underlined red, saying that

the property does not exist on value of type 'typeof angular'

and

the property does not exist on value of type 'typeof angular.ui'

What's up with this error?

3
  • I tried to describe issues which I had with the latest d.ts files around angular and ui-router: stackoverflow.com/a/25072946/1679310 Commented Aug 3, 2015 at 12:17
  • how bizarre, I will have a go at this! Commented Aug 3, 2015 at 12:31
  • @RadimKöhler unfortunately that didn't help my problem. It's not liking the | operator Commented Aug 4, 2015 at 7:24

1 Answer 1

0

What editor are your using? Have you tried adding a reference to the angular.d.ts file?

///

Sign up to request clarification or add additional context in comments.

2 Comments

This should be a comment not an answer.
lol no....that is a terrible answer because as you pull in the tds next time it will be removed. Never update auto generated/pulled code

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.