mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
8 lines
134 B
TypeScript
8 lines
134 B
TypeScript
export function identity<T>(t: T): T {
|
|
return t;
|
|
}
|
|
|
|
export function identityArgs<T extends any[]>(...args: T): T {
|
|
return args;
|
|
}
|