18 lines
363 B
TypeScript
18 lines
363 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////interface I<T> {
|
|
//// x: { y: T, z: T[] };
|
|
////}
|
|
////class C implements I<number> {[| |]}
|
|
|
|
verify.codeFix({
|
|
description: "Implement interface 'I<number>'",
|
|
newFileContent:
|
|
`interface I<T> {
|
|
x: { y: T, z: T[] };
|
|
}
|
|
class C implements I<number> {
|
|
x: { y: number; z: number[]; };
|
|
}`,
|
|
});
|