mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 22:38:16 +08:00
if qs is defined as an object type then if we want to access it like
this it will generate an error :
var requestOpt: request.Options = {
json: true,
qs: {
param1: '',
param2: {}
},
url: '',
};
requestOpt.qs.param1 // <= error