31963d54b8
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
No EOL
300 B
TypeScript
15 lines
No EOL
300 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////class C {
|
|
//// const example = [|["one"; "two"]|]
|
|
////}
|
|
|
|
verify.codeFixAvailable([
|
|
{ description: `Change ';' to ','` }
|
|
]);
|
|
|
|
verify.codeFix({
|
|
description: "Change ';' to ','",
|
|
index: 0,
|
|
newRangeContent: `["one", "two"]`,
|
|
}); |