Skip to content

Commit

Permalink
fix: dependencies type in Module class
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Nov 27, 2024
1 parent 08f38ee commit 21dbc13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/rspack/etc/core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3567,6 +3567,8 @@ export class Module {
// (undocumented)
readonly context?: string;
// (undocumented)
readonly dependencies: Dependency[];
// (undocumented)
readonly factoryMeta?: JsFactoryMeta;
// (undocumented)
identifier(): string;
Expand Down
1 change: 1 addition & 0 deletions packages/rspack/src/Module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ export class Module {
declare readonly buildMeta: Record<string, any>;
declare readonly modules: Module[] | undefined;
declare readonly blocks: DependenciesBlock[];
declare readonly dependencies: Dependency[];
declare readonly useSourceMap: boolean;

static __from_binding(binding: JsModule, compilation?: Compilation) {
Expand Down

0 comments on commit 21dbc13

Please sign in to comment.