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

Exported d.ts files contain non-public elements #2588

Closed
mmews-n4 opened this issue Jan 2, 2024 · 0 comments · Fixed by #2591
Closed

Exported d.ts files contain non-public elements #2588

mmews-n4 opened this issue Jan 2, 2024 · 0 comments · Fixed by #2591
Assignees
Labels

Comments

@mmews-n4
Copy link

mmews-n4 commented Jan 2, 2024

Test.n4js

function foo() {}
const bar = 5;
let baz = 3;
var qux = 6;

Results in
Test.d.ts

declare function foo(): void;
declare const bar: 5;
declare let baz: number;
declare var qux: number;
@mmews-n4 mmews-n4 added the bug label Jan 2, 2024
@mmews-n4 mmews-n4 self-assigned this Jan 10, 2024
mmews-n4 pushed a commit that referenced this issue Jan 18, 2024
* add tests

* support pnpm for project discovery tests

* fix bug in node_modules identification

* fix project discovery and ide tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant