Use with VSCode typechecking in .js files
sumeetattree opened this issue · 0 comments
sumeetattree commented
Not sure if this belongs here, if it doesn't feel free to close.
I am trying to get typings working with a jsconfig.json
file without going full typescript. Usually when packages are imported like this:
import Controller from '@ember/controller'
VSCode picks up the types correctly but for some reason when importing from ember-ajax
a could not import module
is raised by the ts server. This is true for import { AjaxError } from 'ember-ajax/errors'
as well. Is it not supposed to work like this?
This is the guide I am following.