2016-09-30 01:17:20 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2016-10-04 22:32:37 +02:00
|
|
|
// Should give completions for relative references to ts files only when allowJs is false.
|
2016-09-30 01:17:20 +02:00
|
|
|
|
|
|
|
// @Filename: test0.ts
|
|
|
|
//// /// <reference path="/*0*/
|
|
|
|
//// /// <reference path=".//*1*/
|
|
|
|
//// /// <reference path="./f/*2*/
|
|
|
|
|
|
|
|
// @Filename: f1.ts
|
2018-10-29 18:03:25 +01:00
|
|
|
////
|
2016-09-30 01:17:20 +02:00
|
|
|
// @Filename: f1.js
|
2018-10-29 18:03:25 +01:00
|
|
|
////
|
2016-09-30 01:17:20 +02:00
|
|
|
// @Filename: f1.d.ts
|
2018-10-29 18:03:25 +01:00
|
|
|
////
|
2016-09-30 01:17:20 +02:00
|
|
|
// @Filename: f1.tsx
|
2018-10-29 18:03:25 +01:00
|
|
|
////
|
2016-09-30 01:17:20 +02:00
|
|
|
// @Filename: f1.js
|
2018-10-29 18:03:25 +01:00
|
|
|
////
|
2016-09-30 01:17:20 +02:00
|
|
|
// @Filename: f1.jsx
|
2018-10-29 18:03:25 +01:00
|
|
|
////
|
2016-09-30 01:17:20 +02:00
|
|
|
// @Filename: f1.cs
|
2018-10-29 18:03:25 +01:00
|
|
|
////
|
2016-09-30 01:17:20 +02:00
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({
|
|
|
|
marker: test.markers(),
|
|
|
|
exact: ["f1.d.ts", "f1.ts", "f1.tsx"],
|
|
|
|
isNewIdentifierLocation: true,
|
|
|
|
});
|