25 lines
No EOL
613 B
Text
25 lines
No EOL
613 B
Text
=== tests/cases/conformance/ambient/user.ts ===
|
|
///<reference path="declarations.d.ts"/>
|
|
import foo, {bar} from "jquery";
|
|
>foo : any
|
|
>bar : any
|
|
|
|
import * as baz from "fs";
|
|
>baz : any
|
|
|
|
import boom = require("jquery");
|
|
>boom : any
|
|
|
|
foo(bar, baz, boom);
|
|
>foo(bar, baz, boom) : any
|
|
>foo : any
|
|
>bar : any
|
|
>baz : any
|
|
>boom : any
|
|
|
|
=== tests/cases/conformance/ambient/declarations.d.ts ===
|
|
declare module "jquery"
|
|
No type information for this code.// Semicolon is optional
|
|
No type information for this code.declare module "fs";
|
|
No type information for this code.
|
|
No type information for this code. |