add test for block-level flow type annotations

This commit is contained in:
Erik Krogh Kristensen
2020-01-03 11:07:35 +01:00
parent f140820511
commit c22d3d0b3a
2 changed files with 3 additions and 0 deletions

View File

@@ -0,0 +1 @@
semmle-extractor-options: --experimental

View File

@@ -72,4 +72,6 @@ function g() {
Object.defineProperty(o, "nonTrivialGetter2", unknownGetterDef());
o.nonTrivialGetter2; // OK
(o: empty); // OK.
};