2018-10-19 23:31:55 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
// @allowJs: true
|
|
|
|
// @allowSyntheticDefaultImports: true
|
|
|
|
|
|
|
|
// @Filename: /a.js
|
|
|
|
////Object.defineProperty(exports, "__esModule", {
|
|
|
|
//// value: true
|
|
|
|
////});
|
|
|
|
////exports.default = f;
|
|
|
|
/////**
|
|
|
|
//// * Run this function
|
|
|
|
//// * @param {string} t
|
|
|
|
//// */
|
|
|
|
////function f(t) {}
|
|
|
|
|
|
|
|
// @Filename: /b.js
|
|
|
|
////import f from "./a"
|
|
|
|
/////**/f
|
|
|
|
|
2020-09-10 20:23:48 +02:00
|
|
|
verify.quickInfoAt("", `(alias) function f(t: string): void
|
|
|
|
import f`, "Run this function"); // Passes
|