symbol.prototype.description
Version:
Spec-compliant shim for Symbol.prototype.description proposal.
8 lines (6 loc) • 303 B
TypeScript
declare function SymbolPrototypeDescription(thisArg: symbol): string | undefined;
declare namespace SymbolPrototypeDescription {
export type Getter = (this: symbol) => string | undefined;
export type BoundGetter = (thisArg: symbol) => string | undefined;
}
export = SymbolPrototypeDescription;