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

packages/typescript/lib/node/proxyCreateProgram.ts issue #256

Open
sgpinkus opened this issue Dec 20, 2024 · 0 comments
Open

packages/typescript/lib/node/proxyCreateProgram.ts issue #256

sgpinkus opened this issue Dec 20, 2024 · 0 comments

Comments

@sgpinkus
Copy link

sgpinkus commented Dec 20, 2024

This issue vuejs/language-tools#4783 originates from here:

const sourceFileSnapshots = new FileMap<[ts.SourceFile | undefined, ts.IScriptSnapshot | undefined]>(ts.sys.useCaseSensitiveFileNames);

Doing an import of types on line 2 import type * as ts from 'typescript'; seems wrong because your relying on the implementation on line 40 ts.sys.useCaseSensitiveFileNames. Not sure why that would ever work!? I think this can be fixed by changing the import on L2 to import * as ts from 'typescript';

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