diff options
author | 2021-04-01 10:25:28 -0600 | |
---|---|---|
committer | 2021-04-01 10:25:28 -0600 | |
commit | c26c244ca2634d462616d6cf71072fbe26becba2 (patch) | |
tree | 1bd5e83eff9ca88200aacb272c84439f192015ec /src/parser/utils/nodes_match.ts | |
parent | f6a7ac67befff863e34133673efb78ea7ac0fe48 (diff) | |
download | astro-c26c244ca2634d462616d6cf71072fbe26becba2.tar.gz astro-c26c244ca2634d462616d6cf71072fbe26becba2.tar.zst astro-c26c244ca2634d462616d6cf71072fbe26becba2.zip |
Annoying Lint PR #2 (#47)
Diffstat (limited to 'src/parser/utils/nodes_match.ts')
-rw-r--r-- | src/parser/utils/nodes_match.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser/utils/nodes_match.ts b/src/parser/utils/nodes_match.ts index 563742635..7e4093994 100644 --- a/src/parser/utils/nodes_match.ts +++ b/src/parser/utils/nodes_match.ts @@ -1,5 +1,6 @@ // @ts-nocheck +/** Compare two TemplateNodes to determine if they are equivalent */ export function nodes_match(a, b) { if (!!a !== !!b) return false; if (Array.isArray(a) !== Array.isArray(b)) return false; |