Skip to content

Commit

Permalink
test: 🚀 update instantiations
Browse files Browse the repository at this point in the history
  • Loading branch information
Beraliv committed May 22, 2024
1 parent 7802c62 commit 5821ad3
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions bench/deep-partial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ export const runDeepPartialBenchmarks = (majorMinorVersion: string) => {
return {} as DeepPartial<UserInformation>;
}).types([
{
"4.5": 0,
"4.5": 121,
"4.6": 0,
"4.7": 0,
"4.8": 0,
"4.7": 121,
"4.8": 121,
"4.9": 117,
"5.0": 0,
"5.1": 0,
"5.0": 117,
"5.1": 117,
"5.2": 0,
"5.3": 0,
"5.4": 0,
"5.4": 117,
}[majorMinorVersion],
"instantiations",
]);
Expand All @@ -47,14 +47,14 @@ export const runDeepPartialBenchmarks = (majorMinorVersion: string) => {
hello2: () => void;
}

return {} as PickKeys<UserInformation, Function>;
return {} as DeepPartial<UserInformation>;
}).types([
{
"4.5": 0,
"4.6": 0,
"4.7": 0,
"4.8": 0,
"4.9": 117,
"4.9": 0,
"5.0": 0,
"5.1": 0,
"5.2": 0,
Expand Down Expand Up @@ -85,16 +85,16 @@ export const runDeepPartialBenchmarks = (majorMinorVersion: string) => {
return {} as DeepPartial<UserInformation>;
}).types([
{
"4.5": 0,
"4.5": 121,
"4.6": 0,
"4.7": 0,
"4.8": 0,
"4.7": 121,
"4.8": 121,
"4.9": 117,
"5.0": 0,
"5.1": 0,
"5.0": 117,
"5.1": 117,
"5.2": 0,
"5.3": 0,
"5.4": 0,
"5.4": 117,
}[majorMinorVersion],
"instantiations",
]);
Expand Down Expand Up @@ -129,14 +129,14 @@ export const runDeepPartialBenchmarks = (majorMinorVersion: string) => {
};
}

return {} as PickKeys<UserInformation, Function>;
return {} as DeepPartial<UserInformation>;
}).types([
{
"4.5": 0,
"4.6": 0,
"4.7": 0,
"4.8": 0,
"4.9": 117,
"4.9": 0,
"5.0": 0,
"5.1": 0,
"5.2": 0,
Expand Down Expand Up @@ -175,16 +175,16 @@ export const runDeepPartialBenchmarks = (majorMinorVersion: string) => {
return {} as DeepPartial<UserInformation>;
}).types([
{
"4.5": 0,
"4.5": 121,
"4.6": 0,
"4.7": 0,
"4.8": 0,
"4.7": 121,
"4.8": 121,
"4.9": 117,
"5.0": 0,
"5.1": 0,
"5.0": 117,
"5.1": 117,
"5.2": 0,
"5.3": 0,
"5.4": 0,
"5.4": 117,
}[majorMinorVersion],
"instantiations",
]);
Expand Down Expand Up @@ -233,14 +233,14 @@ export const runDeepPartialBenchmarks = (majorMinorVersion: string) => {
};
}

return {} as PickKeys<UserInformation, Function>;
return {} as DeepPartial<UserInformation>;
}).types([
{
"4.5": 0,
"4.6": 0,
"4.7": 0,
"4.8": 0,
"4.9": 117,
"4.9": 0,
"5.0": 0,
"5.1": 0,
"5.2": 0,
Expand Down

0 comments on commit 5821ad3

Please sign in to comment.