We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Adapted from this issue filed in the developer community.
Not sure if this ever worked TBH.
file1.ts
export const x = 0;
file2.ts
// A header /// <reference lib="es2017.string" /> const y = x + 1;
The auto-import will modify file2.ts to, which makes the triple-slash directive lose its meaning:
// A header import { x } from "./file1"; /// <reference lib="es2017.string" /> const y = x + 1;
The server adds the import under triple-slash directives.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Adapted from this issue filed in the developer community.
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
Not sure if this ever worked TBH.
💻 Code
file1.ts
) with the following content:file2.ts
with the following:file2.ts
and select "Add import from './file1.ts'".🙁 Actual behavior
The auto-import will modify
file2.ts
to, which makes the triple-slash directive lose its meaning:🙂 Expected behavior
The server adds the import under triple-slash directives.
The text was updated successfully, but these errors were encountered: