mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
HeadersMap was essentially a DOMStringMap
... and TS 2.0 even will not require the type
This commit is contained in:
@@ -7,7 +7,7 @@ function test_HeadersCopiedFromHeaders() {
|
||||
}
|
||||
|
||||
function test_HeadersCopiedFromHash() {
|
||||
var source:HeadersMap = {
|
||||
var source: DOMStringMap = {
|
||||
'Content-Type': 'application/json'
|
||||
};
|
||||
return new Headers(source);
|
||||
|
||||
Reference in New Issue
Block a user