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

Add definitions and references for constructors #250

Merged
merged 6 commits into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions snapshots/input/syntax/src/constructor.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export class Constructor {
constructor(public readonly property: number) {}
}

export function useConstructor(): Constructor {
SuperAuguste marked this conversation as resolved.
Show resolved Hide resolved
return new Constructor(Constructor.name.length)
}
8 changes: 0 additions & 8 deletions snapshots/output/invalid-package-json/packages/a/src/a.ts

This file was deleted.

8 changes: 0 additions & 8 deletions snapshots/output/multi-project/packages/a/src/index.ts

This file was deleted.

13 changes: 0 additions & 13 deletions snapshots/output/multi-project/packages/b/src/b.ts

This file was deleted.

8 changes: 0 additions & 8 deletions snapshots/output/pnpm-workspaces/packages/a/src/a.ts

This file was deleted.

13 changes: 0 additions & 13 deletions snapshots/output/pnpm-workspaces/packages/b/src/b.ts

This file was deleted.

117 changes: 0 additions & 117 deletions snapshots/output/pure-js/src/main.js

This file was deleted.

68 changes: 0 additions & 68 deletions snapshots/output/react/src/LoaderInput.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions snapshots/output/react/src/MyTSXElement.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions snapshots/output/react/src/UseMyTSXElement.tsx

This file was deleted.

54 changes: 0 additions & 54 deletions snapshots/output/syntax/src/ClassWithPrivate.ts

This file was deleted.

Loading