mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-08 02:46:15 -05:00
Fix Symbol.valueOf method signature
This commit is contained in:
2
src/lib/es2015.symbol.d.ts
vendored
2
src/lib/es2015.symbol.d.ts
vendored
@@ -3,7 +3,7 @@ interface Symbol {
|
||||
toString(): string;
|
||||
|
||||
/** Returns the primitive value of the specified object. */
|
||||
valueOf(): Object;
|
||||
valueOf(): symbol;
|
||||
}
|
||||
|
||||
interface SymbolConstructor {
|
||||
|
||||
Reference in New Issue
Block a user