Signed-off-by: Andrew Deniszczyc <adeniszczyc@bloomberg.net> Cleanup of implementation Move check node container check Add test cases for fixExpectedCommaError Renaming and add test case Co-authored-by: Andrew Deniszczyc <adeniszczyc@bloomberg.net>
15 lines
318 B
TypeScript
15 lines
318 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////class C {
|
|
//// const example = [|{ a : "one"; c : "two"}|]
|
|
////}
|
|
|
|
verify.codeFixAvailable([
|
|
{ description: `Change ';' to ','` }
|
|
]);
|
|
|
|
verify.codeFix({
|
|
description: "Change ';' to ','",
|
|
index: 0,
|
|
newRangeContent: `{ a : "one", c : "two"}`,
|
|
}); |