Skip to content

Commit

Permalink
perf: undo unrelated perf improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
KnorpelSenf committed Jun 2, 2024
1 parent 251b088 commit bc0f803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class Api<R extends RawApi = RawApi> {
this.raw = raw;
this.config = {
use,
installedTransformers: () => installedTransformers.slice(),
installedTransformers: () => [...installedTransformers],
};
}

Expand Down

0 comments on commit bc0f803

Please sign in to comment.