mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Add testcase
This commit is contained in:
parent
f4f9d899fd
commit
00a642b84c
13
tests/cases/fourslash/javascriptModules25.ts
Normal file
13
tests/cases/fourslash/javascriptModules25.ts
Normal file
@ -0,0 +1,13 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
// @allowJs: true
|
||||
|
||||
// @Filename: mod.js
|
||||
//// function foo() { return {a: true}; }
|
||||
//// module.exports.a = foo;
|
||||
|
||||
// @Filename: app.js
|
||||
//// import * as mod from "./mod"
|
||||
//// mod./**/
|
||||
|
||||
goTo.marker();
|
||||
verify.completionListContains('a');
|
||||
Loading…
x
Reference in New Issue
Block a user