Skip to content

Commit

Permalink
chore(alias): add missing readonly to internal function (#680)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Powell <[email protected]>
  • Loading branch information
benmccann and shellscape authored Dec 2, 2020
1 parent a1b2fc3 commit c816a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/alias/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function normalizeId(id: string | undefined) {
return id;
}

function getEntries({ entries }: RollupAliasOptions): Alias[] {
function getEntries({ entries }: RollupAliasOptions): readonly Alias[] {
if (!entries) {
return [];
}
Expand Down

0 comments on commit c816a5c

Please sign in to comment.