我是打字稿中的发票。任何人都可以向我解释这些出口之间的区别:不同的输入和输出形式的打字稿
export default class Foo {}
/* or */
class Foo {}
export = Foo;
/* or */
export class Foo { }
这些形式进口的区别,:
import x = require('y');
import x from 'y';
import { x } from 'y'
import * as x from 'y';
以及何时使用他们每个人的?