TypeScript/tests/cases/fourslash/codeFixClassImplementInterfaceOptionalProperty.ts

13 lines
245 B
TypeScript
Raw Normal View History

2017-06-26 21:33:29 +02:00
/// <reference path='fourslash.ts' />
//// interface IPerson {
//// name: string;
//// birthday?: string;
//// }
////
//// class Person implements IPerson {[| |]}
verify.rangeAfterCodeFix(`
name: string;
birthday?: string;
`);