UNPKG

293 BTypeScriptView Raw
1/**
2 * Gets the inferred function name for the `{ [s]() {...} }` construct.
3 *
4 * **Note:** Intended to be used with strings or symbols.
5 *
6 * @param s The string or symbol to use as the object key.
7 */
8declare const getInferredName: ((s: unknown) => string) | null;
9export = getInferredName;
10
\No newline at end of file