TypeScript/tests/cases/fourslash/getJavaScriptSyntacticDiagnostics8.ts

11 lines
220 B
TypeScript

/// <reference path="fourslash.ts" />
// @allowJs: true
// @Filename: a.js
////type [|a|] = b;
verify.getSyntacticDiagnostics([{
message: "'type aliases' can only be used in a .ts file.",
code: 8008
}]);