13 lines
289 B
TypeScript
13 lines
289 B
TypeScript
/// <reference path="fourslash.ts"/>
|
|
|
|
//// declare class myString {
|
|
//// charAt(pos: number): string;
|
|
//// }
|
|
////
|
|
//// function bar(a: myString) {
|
|
//// var x: any = a./**/
|
|
//// }
|
|
|
|
goTo.marker();
|
|
verify.completionListContains("charAt");
|
|
verify.completionListCount(1);
|