mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
23 lines
427 B
TypeScript
23 lines
427 B
TypeScript
//// [tests/cases/compiler/genericArrowFunctionInEsmExtensionFile.ts] ////
|
|
|
|
//// [a.mts]
|
|
// @see https://github.com/microsoft/TypeScript/issues/44442
|
|
const a = <T,>(arg: T): T => {
|
|
return arg;
|
|
};
|
|
|
|
const b = <T>(arg: T): T => {
|
|
return arg;
|
|
};
|
|
|
|
|
|
//// [a.mjs]
|
|
// @see https://github.com/microsoft/TypeScript/issues/44442
|
|
const a = (arg) => {
|
|
return arg;
|
|
};
|
|
const b = (arg) => {
|
|
return arg;
|
|
};
|
|
export {};
|