mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Ensure that checkGrammarModuleElementContext reliably returns true when there is bad grammar.
This commit is contained in:
2
tests/cases/compiler/exportInFunction.ts
Normal file
2
tests/cases/compiler/exportInFunction.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
function f() {
|
||||
export = 0;
|
||||
Reference in New Issue
Block a user