Skip to content

Commit

Permalink
Fixed missing "Parcel" export member in Module "@parcel/core" (#7250)
Browse files Browse the repository at this point in the history
  • Loading branch information
ch99q committed Nov 4, 2021
1 parent d4b4256 commit 52101af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/core/index.d.ts
Expand Up @@ -2,7 +2,7 @@ import type {InitialParcelOptions, BuildEvent, BuildSuccessEvent, AsyncSubscript
import type {FarmOptions} from '@parcel/workers';
import type WorkerFarm from '@parcel/workers';

export default class Parcel {
export class Parcel {
constructor(options: InitialParcelOptions);
run(): Promise<BuildSuccessEvent>;
watch(
Expand All @@ -11,3 +11,5 @@ export default class Parcel {
}

export declare function createWorkerFarm(options?: Partial<FarmOptions>): WorkerFarm;

export default Parcel;

0 comments on commit 52101af

Please sign in to comment.