2017-06-26 21:33:29 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2017-12-07 21:14:18 +01:00
|
|
|
////interface IPerson {
|
|
|
|
//// name: string;
|
|
|
|
//// birthday?: string;
|
|
|
|
////}
|
|
|
|
////class Person implements IPerson {}
|
2017-06-26 21:33:29 +02:00
|
|
|
|
2017-12-07 21:14:18 +01:00
|
|
|
verify.codeFix({
|
|
|
|
description: "Implement interface 'IPerson'",
|
|
|
|
newFileContent:
|
|
|
|
`interface IPerson {
|
2017-06-26 21:33:29 +02:00
|
|
|
name: string;
|
|
|
|
birthday?: string;
|
2017-12-07 21:14:18 +01:00
|
|
|
}
|
2018-01-12 02:43:27 +01:00
|
|
|
class Person implements IPerson {
|
|
|
|
name: string;
|
|
|
|
birthday?: string;
|
2017-12-07 21:14:18 +01:00
|
|
|
}`,
|
|
|
|
});
|