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

core(lantern): put types in namespace #15850

Merged
merged 2 commits into from
Mar 5, 2024
Merged

core(lantern): put types in namespace #15850

merged 2 commits into from
Mar 5, 2024

Conversation

connorjclark
Copy link
Collaborator

ref #15841

Puts Lantern.NetworkRequest in a namespace, instead of doing something hacky with lantern.js.

Also puts the Simulation related types in lantern.d.ts. Follow-up work remains to remove from gatherer.d.ts

@connorjclark connorjclark requested a review from a team as a code owner March 5, 2024 01:59
@connorjclark connorjclark requested review from adamraine and removed request for a team March 5, 2024 01:59
@connorjclark connorjclark changed the title core(lantern): rename lib/dependency-graph to lib/lantern core(lantern): put types in namespace Mar 5, 2024
@@ -132,6 +132,7 @@ declare module Gatherer {
GathererInstance<Exclude<TDependencies, DefaultDependenciesKey>>
type AnyGathererInstance = GathererInstanceExpander<Gatherer.DependencyKey>

// TODO(15841): use from lantern.d.ts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't this be done in this PR?

Copy link
Collaborator Author

@connorjclark connorjclark Mar 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smaller prs are easy to make and to review

here, I anticipate getting the types to still be correct might be a challenge

@connorjclark connorjclark merged commit ea70907 into main Mar 5, 2024
29 checks passed
@connorjclark connorjclark deleted the lantern-types branch March 5, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants