9 lines
305 B
TypeScript
Raw Normal View History

export type alias = i32;
// TODO: Without 'export' this yields 'ERROR TS2395: Individual declarations in merged declaration...'
// which differs from TypeScript, but we don't have individual element and type spaces per file and this
// just merges.
2017-12-20 13:36:39 +01:00
export function alias(a: alias): alias {
return a;
}