Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

optimize type definitions for ResolveLoader #156

Merged
merged 1 commit into from Mar 22, 2019

Conversation

loveky
Copy link
Contributor

@loveky loveky commented Mar 22, 2019

Why

I'm trying to add pnp-webpack-plugin to my project. It needs add plugin to resolveLoader. But I go a type error:

Property 'plugin' does not exist on type 'ResolveLoader'.ts(2339)

I checked webpack-chain's source and find ResolveLoader extends Resolve in source code but not in type definitions.

So I updated code and created this PR. Please let me know if any problem.

Copy link
Member

@eliperelman eliperelman left a comment

Choose a reason for hiding this comment

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

Great, catch, thank you so much!

@eliperelman eliperelman merged commit 2a77b02 into neutrinojs:master Mar 22, 2019
@eliperelman
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants