15 lines
No EOL
289 B
TypeScript
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
|
|
}
|
|
]`); |