TypeScript/tests/cases/fourslash/getJavaScriptSemanticDiagnostics2.ts
Bill Ticehurst e4462975c8 Fixed up paths in fourslash tests
(cherry picked from commit ed1eb2b274)
2016-02-11 14:07:35 -08:00

15 lines
No EOL
289 B
TypeScript

/// <reference path="fourslash.ts" />
// @allowJs: true
// @Filename: a.js
//// export = b;
verify.getSemanticDiagnostics(`[
{
"message": "'export=' can only be used in a .ts file.",
"start": 0,
"length": 11,
"category": "error",
"code": 8003
}
]`);