2015-08-13 23:30:29 +02:00
|
|
|
// @target: es5
|
|
|
|
// @module: commonjs
|
|
|
|
// @declaration: true
|
|
|
|
|
|
|
|
// @filename: utils.ts
|
|
|
|
export function foo() { }
|
|
|
|
export function bar() { }
|
|
|
|
export interface Buzz { }
|
|
|
|
|
|
|
|
// @filename: index.ts
|
2015-09-15 20:43:28 +02:00
|
|
|
import {foo, bar, Buzz} from "./utils";
|
2015-08-13 23:30:29 +02:00
|
|
|
|
|
|
|
foo();
|
|
|
|
let obj: Buzz;
|
|
|
|
export {bar};
|