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

Use with VSCode typechecking in .js files #448

@sumeetattree

Description

@sumeetattree

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions