22 lines
264 B
TypeScript
22 lines
264 B
TypeScript
|
/// <reference path='fourslash.ts' />
|
||
|
|
||
|
////enum E {
|
||
|
//// a,
|
||
|
//// b = 1,
|
||
|
//// c = "123"
|
||
|
////}
|
||
|
////E.d
|
||
|
|
||
|
verify.codeFix({
|
||
|
description: "Add missing enum member 'd'",
|
||
|
newFileContent: `enum E {
|
||
|
a,
|
||
|
b = 1,
|
||
|
c = "123",
|
||
|
d = "d"
|
||
|
}
|
||
|
E.d`
|
||
|
});
|
||
|
|
||
|
|