Add missing properties to stdlib (#38678)

This commit is contained in:
devsnek authored and GitHub committed 2020-08-18 23:05:38 -07:00
1 parent c51aacac44
commit a0d457e14c
2 files changed
+6

No files matched your search

+5
View File
@@ -63,6 +63,11 @@ interface SymbolConstructor {
}
interface Symbol {
/**
* Converts a Symbol object to a symbol.
*/
[Symbol.toPrimitive](hint: string): symbol;
readonly [Symbol.toStringTag]: string;
}
+1
View File
@@ -1692,6 +1692,7 @@ interface DataView {
}
interface DataViewConstructor {
readonly prototype: DataView;
new(buffer: ArrayBufferLike, byteOffset?: number, byteLength?: number): DataView;
}
declare var DataView: DataViewConstructor;