TypeScript

typescriptいろいろ

モジュール関連

export/importのいろいろ

export default class Foo {}   => import x from 'y'
/* or */
class Foo {}
export = Foo;                 => import x = require('y')
/* or */
export class Foo { }          => import { Foo } from 'y' | import * as x from 'y'

import x = require('y');
import x from 'y';
import { x } from 'y'
import * as x from 'y';

参考:
module FAQ
モジュール説明