benjamn / benjamn/ast-types

Decide what to do about array holes

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
1.2k
Forks
194
Avg merge
22h 43m
Merged PRs (30d)
10

Description

Currently, this assertion succeeds:

``` js
require("ast-types").builtInTypes.string.arrayOf().assert(["a",,"c"])
```

It probably should not succeed, because the second element of the array is missing/`undefined`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.