// @flow function square(n: number): number { return n * n; } square("2"); // Error!
module myModule { function objectRange(obj: Object, times: number): Object[] { ... } ... }
awesome-typescript-loader
wepack setting
By Stanney Yen