@parcel/plugin 2.8.2 → 2.8.4-nightly.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/plugin",
3
- "version": "2.8.2",
3
+ "version": "2.8.4-nightly.0+7b79c6d",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -23,7 +23,7 @@
23
23
  "check-ts": "tsc --noEmit src/PluginAPI.d.ts"
24
24
  },
25
25
  "dependencies": {
26
- "@parcel/types": "2.8.2"
26
+ "@parcel/types": "2.8.4-nightly.0+7b79c6d"
27
27
  },
28
- "gitHead": "3437f64e4c6f57d911614c480b742e229149f200"
28
+ "gitHead": "7b79c6d69ffabef89810a8db61e9abdeb70d6990"
29
29
  }
@@ -15,8 +15,8 @@ export declare class Transformer<T> {
15
15
  constructor(opts: TransformerOpts<T>);
16
16
  }
17
17
 
18
- export declare class Resolver {
19
- constructor(opts: ResolverOpts);
18
+ export declare class Resolver<T> {
19
+ constructor(opts: ResolverOpts<T>);
20
20
  }
21
21
 
22
22
  export declare class Bundler<T> {
package/src/PluginAPI.js CHANGED
@@ -23,7 +23,7 @@ export class Transformer {
23
23
  }
24
24
 
25
25
  export class Resolver {
26
- constructor(opts: ResolverOpts) {
26
+ constructor<T>(opts: ResolverOpts<T>) {
27
27
  // $FlowFixMe
28
28
  this[CONFIG] = opts;
29
29
  }