Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto-import / import-suggestions only work on gts files #692

Open
NullVoxPopuli opened this issue Jan 22, 2024 · 0 comments
Open

auto-import / import-suggestions only work on gts files #692

NullVoxPopuli opened this issue Jan 22, 2024 · 0 comments

Comments

@NullVoxPopuli
Copy link
Contributor

NullVoxPopuli commented Jan 22, 2024

like in #676
it seems none of the language features are available in gjs.

Demo project: https://github.com/NullVoxPopuli/is-polaris-ready-yet/

My tsconfig.json:

{
  "extends": "@tsconfig/ember/tsconfig.json",
  "glint": {
    "environment": ["ember-loose", "ember-template-imports"],
  },
  "compilerOptions": {
    // The combination of `baseUrl` with `paths` allows Ember's classic package
    // layout, which is not resolveable with the Node resolution algorithm, to
    // work with TypeScript.
    "baseUrl": ".",
    "allowJs": true,
    // Apps don't need to publish declarations
    "declaration": false,
    "paths": {
      "is-ready/tests/*": ["tests/*"],
      "is-ready/*": ["app/*"],
      "*": ["types/*"],
    },
  },
  "include": ["app/**/*", "tests/**/*", "types/**/*"],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant