2016-11-15 00:13:46 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
//// interface I1 { }
|
|
|
|
//// interface I2 { }
|
|
|
|
|
|
|
|
//// function sealed(constructor: Function) {
|
|
|
|
//// Object.seal(constructor);
|
|
|
|
//// Object.seal(constructor.prototype);
|
|
|
|
//// }
|
|
|
|
|
|
|
|
//// @sealed
|
|
|
|
//// [|class A extends I1 implements I2 { }|]
|
2017-10-10 20:28:05 +02:00
|
|
|
verify.codeFix({
|
2017-12-02 01:38:59 +01:00
|
|
|
description: "Change 'extends' to 'implements'",
|
2017-10-10 20:28:05 +02:00
|
|
|
// TODO: GH#18794
|
2018-01-03 21:37:43 +01:00
|
|
|
newRangeContent: "class A implements I1, I2 { }",
|
2017-10-10 20:28:05 +02:00
|
|
|
});
|