Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Jul 18, 2023
1 parent 07b022b commit 0e20ec5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/babel-core/src/transformation/plugin-pass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ import type { NodeLocation } from "./file/file";

export default class PluginPass<Options = {}> {
_map: Map<unknown, unknown> = new Map();
declare key: string | undefined | null;
declare file: File;
declare opts: Partial<Options>;
key: string | undefined | null;
file: File;
opts: Partial<Options>;

// The working directory that Babel's programmatic options are loaded
// relative to.
declare cwd: string;
cwd: string;

// The absolute path of the file being compiled.
declare filename: string | void;
filename: string | void;

constructor(file: File, key?: string | null, options?: Options) {
this.key = key;
Expand Down

0 comments on commit 0e20ec5

Please sign in to comment.