Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Use with VSCode typechecking in .js files #448

Open
sumeetattree opened this issue May 21, 2019 · 0 comments
Open

Use with VSCode typechecking in .js files #448

sumeetattree opened this issue May 21, 2019 · 0 comments

Comments

@sumeetattree
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant