2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
//// interface Intersection {
|
|
|
|
//// dist: number;
|
|
|
|
//// }
|
|
|
|
//// /*interfaceGoesHere*/
|
|
|
|
//// class /*className*/Sphere {
|
|
|
|
//// constructor(private center) {
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
|
|
|
|
goTo.marker('className');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('class Sphere');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('interfaceGoesHere');
|
|
|
|
edit.insert("\r\ninterface Surface {\r\n reflect: () => number;\r\n}\r\n");
|
|
|
|
|
|
|
|
goTo.marker('className');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('class Sphere');
|