Open davidjmstewart opened 4 years ago
The Params interface does not contain locations as a field, meaning valid API interactions like this will fail to compile:
Params
locations
let stream = t.stream('statuses/filter', { locations: ['-125.15', '25.58', '-55.80', '48.59'], lang: "en", })
Simply adding locations?: Array<String>; to the Params interface type declaration in index.d.ts would fix this.
locations?: Array<String>;
index.d.ts
The
Params
interface does not containlocations
as a field, meaning valid API interactions like this will fail to compile:Simply adding
locations?: Array<String>;
to theParams
interface type declaration inindex.d.ts
would fix this.