10 lines
206 B
TypeScript
10 lines
206 B
TypeScript
declare function isPropertyKey(
|
|
argument: unknown,
|
|
): argument is isPropertyKey.PropertyKey;
|
|
|
|
declare namespace isPropertyKey {
|
|
export type PropertyKey = string | symbol;
|
|
}
|
|
|
|
export = isPropertyKey;
|