"Generate reference path comment" not available in Typescript

Finally getting around to taking a look at Typescript. Using WebStorm when hitting Alt+enter over an interface not part of the same typescript file I don't have the "Generate reference path comment", all I have is "Create interface", and "Rename Reference". Could anyone point me to what I might be doing wrong?

0
2 comments

it's still there:

Do you have Generate reference path comment intention enabled in Settings | Editor | Intentions | Typescript?

Note that reference path comments are deprecated, see https://palantir.github.io/tslint/rules/no-reference/

0
Avatar
Permanently deleted user

It is enabled in Settings | Editor | Intentions but still doesn't show up. As you have pointed and I later discovered later in the Getting Started with Typescript course I was working through Import of modules would now be the preferred way of referencing another module. Thanks for your time!

0

Please sign in to leave a comment.