14 lines
325 B
TypeScript
14 lines
325 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// @allowJs: true
|
|
// @Filename: a.js
|
|
//// function Person(age) {
|
|
//// if (age >= 18) {
|
|
//// this.canVote = true;
|
|
//// } else {
|
|
//// this.canVote = false;
|
|
//// }
|
|
//// }
|
|
|
|
verify.getSyntacticDiagnostics(`[]`);
|
|
verify.getSemanticDiagnostics(`[]`);
|