* create type reference node from type parameters * expose index signature synthesis * widen types in helpers * format unions * use deep cloning
18 lines
294 B
TypeScript
18 lines
294 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
//// interface I1 {
|
|
//// x: number;
|
|
//// }
|
|
//// interface I2 {
|
|
//// y: number;
|
|
//// }
|
|
////
|
|
//// class C implements I1,I2 {[|
|
|
//// |]y: number;
|
|
//// }
|
|
|
|
verify.rangeAfterCodeFix(`
|
|
x: number;
|
|
`);
|
|
|
|
verify.not.codeFixAvailable();
|