2018-07-13 02:24:59 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @Filename: /a.ts
|
|
|
|
////export {};
|
|
|
|
////const a = 1 d;
|
|
|
|
|
2018-10-12 01:15:38 +02:00
|
|
|
// Only give suggestions for nodes that do NOT have parse errors
|
|
|
|
verify.getSuggestionDiagnostics([{
|
2018-10-29 21:23:33 +01:00
|
|
|
message: "Variable 'd' implicitly has an 'any' type, but a better type may be inferred from usage.",
|
|
|
|
code: 7043,
|
2018-10-12 01:15:38 +02:00
|
|
|
range: {
|
|
|
|
fileName: "/a.ts",
|
|
|
|
pos: 23,
|
|
|
|
end: 24,
|
|
|
|
}
|
|
|
|
}]);
|