Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

applyWithFunction: allow passing TypeChecker or Program directly #3140

Merged
merged 1 commit into from Aug 18, 2017
Merged

applyWithFunction: allow passing TypeChecker or Program directly #3140

merged 1 commit into from Aug 18, 2017

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented Aug 18, 2017

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update

Overview of change:

With this change we no longer need a closure to pass the TypeChecker or Program to the walkFn.

Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:

[api] AbstractRule#applyWithFunction allows additional parameter that is passed through to walkFn

With this change we no longer need a closure to pass the TypeChecker of Program to the walkFn.

[api] `applyWithFunction` allows additional parameter that is passed through to `walkFn`
@adidahiya adidahiya merged commit a66fc77 into palantir:master Aug 18, 2017
HyphnKnight pushed a commit to HyphnKnight/tslint that referenced this pull request Apr 9, 2018
…antir#3140)

With this change we no longer need a closure to pass the TypeChecker of Program to the walkFn.

[api] `applyWithFunction` allows additional parameter that is passed through to `walkFn`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants