mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
remove non-null assertion operator from std (part1) (#3900)
This commit is contained in:
parent
ea6179f7dc
commit
c2986891f6
26 changed files with 147 additions and 89 deletions
|
@ -24,7 +24,7 @@ export function deepAssign(
|
|||
if (typeof target[key] !== `object` || !target[key]) {
|
||||
target[key] = {};
|
||||
}
|
||||
deepAssign(target[key] as Record<string, unknown>, value!);
|
||||
deepAssign(target[key] as Record<string, unknown>, value);
|
||||
});
|
||||
}
|
||||
return target;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue