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

lsp: Cannot find typescript definition for jsr:@ts-morph/bootstrap #28710

Open
jeiea opened this issue Apr 2, 2025 · 1 comment
Open

lsp: Cannot find typescript definition for jsr:@ts-morph/bootstrap #28710

jeiea opened this issue Apr 2, 2025 · 1 comment
Assignees
Labels
bug Something isn't working correctly lsp related to the language server

Comments

@jeiea
Copy link
Contributor

jeiea commented Apr 2, 2025

Steps to reproduce

  1. Environment: macOS Sequoia 15.4, Deno 2.2.6
  2. Create the following source.
import { createProject } from "jsr:@ts-morph/bootstrap";

const project = await createProject();
const file = project.createSourceFile("index.ts");
file;
  1. Type . right after file.

Expected behavior

Autocomplete should work.

Actual behavior

Doesn't work.

Additional context

When I replace jsr: with npm:, autocomplete works.

@dsherret dsherret added bug Something isn't working correctly lsp related to the language server labels Apr 2, 2025
@dsherret
Copy link
Member

dsherret commented Apr 2, 2025

Seems to only affect the LSP.

Image

@dsherret dsherret changed the title lsp: Cannot find typescript definition with jsr lsp: Cannot find typescript definition for jsr:@ts-morph/bootstrap Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly lsp related to the language server
Projects
None yet
Development

No branches or pull requests

3 participants