Skip to content

Commit

Permalink
types: fix stats chunk type for rspack-ecosystem-ci (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy authored Nov 10, 2023
1 parent c193735 commit f47302e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/cuddly-clouds-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rsbuild/shared': patch
---

chore: update stats chunk type
4 changes: 2 additions & 2 deletions packages/shared/src/types/stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface StatsAsset {
type: string;
name: string;
size: number;
chunks?: Array<string | number>;
chunks?: Array<string | undefined | null>;
chunkNames?: Array<string | number>;
info: StatsAssetInfo;
}
Expand All @@ -49,7 +49,7 @@ interface StatsModule {
identifier?: string;
name?: string;
id?: string;
chunks?: Array<string>;
chunks?: Array<string | undefined | null>;
size?: number;
}

Expand Down

0 comments on commit f47302e

Please sign in to comment.