2018-04-17 23:07:59 +02:00
|
|
|
/// <reference path="./fourslash.ts"/>
|
|
|
|
|
2018-08-14 01:56:20 +02:00
|
|
|
////interface I {
|
|
|
|
//// /** m documentation */ m(): void;
|
|
|
|
////}
|
2018-04-17 23:07:59 +02:00
|
|
|
////declare const o: { [K in keyof I]: number };
|
|
|
|
////o.m/*0*/;
|
|
|
|
////
|
|
|
|
////declare const p: { [K in keyof I]: I[K] };
|
|
|
|
////p.m/*1*/;
|
2018-08-14 01:56:20 +02:00
|
|
|
////
|
|
|
|
////declare const q: Pick<I, "m">;
|
|
|
|
////q.m/*2*/;
|
2018-04-17 23:07:59 +02:00
|
|
|
|
2018-08-14 01:56:20 +02:00
|
|
|
verify.quickInfoAt("0", "(property) m: number", "m documentation");
|
|
|
|
verify.quickInfoAt("1", "(method) m(): void", "m documentation");
|
|
|
|
verify.quickInfoAt("2", "(method) m(): void", "m documentation");
|