Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
411 B
10 lines
411 B
2 years ago
|
/**
|
||
|
* @function getReturnOfExpression
|
||
|
* @deprecated from TS v2.8 use built-in ReturnType<T> or $Call API
|
||
|
* @description infer the return type from a given "expression" (at runtime it's equivalent of "noop")
|
||
|
* @template RT - ReturnType
|
||
|
* @param expression: (...params: any[]) => RT
|
||
|
* @returns undefined as RT
|
||
|
*/
|
||
|
export declare function getReturnOfExpression<RT>(expression: (...params: any[]) => RT): RT;
|