mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 21:24:48 +00:00
chore: Update dlint (#17031)
Introduces `SafeSetIterator` and `SafeMapIterator` to primordials
This commit is contained in:
parent
2ac575abfb
commit
948f85216a
31 changed files with 222 additions and 141 deletions
|
@ -9,6 +9,7 @@
|
|||
DatePrototype,
|
||||
MathTrunc,
|
||||
ObjectPrototypeIsPrototypeOf,
|
||||
SafeArrayIterator,
|
||||
SymbolAsyncIterator,
|
||||
SymbolIterator,
|
||||
Function,
|
||||
|
@ -211,7 +212,7 @@
|
|||
let offset = 0;
|
||||
let str =
|
||||
'const unix = Deno.build.os === "darwin" || Deno.build.os === "linux"; return {';
|
||||
for (let [name, type] of ObjectEntries(types)) {
|
||||
for (let [name, type] of new SafeArrayIterator(ObjectEntries(types))) {
|
||||
const optional = type.startsWith("?");
|
||||
if (optional) type = type.slice(1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue