HeadersMap was essentially a DOMStringMap

... and TS 2.0 even will not require the type
This commit is contained in:
Kagami Sascha Rosylight
2016-08-26 03:02:42 +09:00
parent ad75328753
commit 2d310f938e
+1 -1
View File
@@ -7,7 +7,7 @@ function test_HeadersCopiedFromHeaders() {
}
function test_HeadersCopiedFromHash() {
var source:HeadersMap = {
var source: DOMStringMap = {
'Content-Type': 'application/json'
};
return new Headers(source);