2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
// @Filename: genericTypeWithMultipleBases_0.ts
|
|
|
|
////interface iBaseScope {
|
|
|
|
//// watch: () => void;
|
|
|
|
////}
|
2014-07-29 20:23:30 +02:00
|
|
|
// @Filename: genericTypeWithMultipleBases_1.ts
|
2014-07-13 01:04:16 +02:00
|
|
|
////interface iMover {
|
|
|
|
//// moveUp: () => void;
|
|
|
|
////}
|
2014-07-29 20:23:30 +02:00
|
|
|
// @Filename: genericTypeWithMultipleBases_2.ts
|
2014-07-13 01:04:16 +02:00
|
|
|
////interface iScope<TModel> extends iBaseScope, iMover {
|
|
|
|
//// family: TModel;
|
|
|
|
////}
|
2014-07-29 20:23:30 +02:00
|
|
|
// @Filename: genericTypeWithMultipleBases_3.ts
|
2014-07-13 01:04:16 +02:00
|
|
|
////var x: iScope<number>;
|
2014-07-29 20:23:30 +02:00
|
|
|
// @Filename: genericTypeWithMultipleBases_4.ts
|
2014-07-13 01:04:16 +02:00
|
|
|
////x./**/
|
|
|
|
|
|
|
|
goTo.marker();
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.completionListContains('watch', '(property) iBaseScope.watch: () => void');
|
|
|
|
verify.completionListContains('moveUp', '(property) iMover.moveUp: () => void');
|
2014-10-06 21:29:49 +02:00
|
|
|
verify.completionListContains('family', '(property) iScope<number>.family: number');
|