20 lines
392 B
TypeScript
20 lines
392 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////interface IPerson {
|
|
//// name: string;
|
|
//// birthday?: string;
|
|
////}
|
|
////class Person implements IPerson {}
|
|
|
|
verify.codeFix({
|
|
description: "Implement interface 'IPerson'",
|
|
newFileContent:
|
|
`interface IPerson {
|
|
name: string;
|
|
birthday?: string;
|
|
}
|
|
class Person implements IPerson {
|
|
name: string;
|
|
birthday?: string;
|
|
}`,
|
|
});
|