mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-21 14:47:46 -04:00
fix: lint error
This commit is contained in:
@@ -115,11 +115,6 @@ export class HeaderList<T extends Header> extends PropertyList<T> {
|
||||
throw unsupportedError('eachParent');
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
toObject(_excludeDisabled?: boolean, _caseSensitive?: boolean, _multiValue?: boolean, _sanitizeKeys?: boolean) {
|
||||
throw unsupportedError('toObject');
|
||||
}
|
||||
|
||||
contentSize(): number {
|
||||
return this.list
|
||||
.map(header => header.toString())
|
||||
|
||||
@@ -45,6 +45,8 @@ export class QueryParam extends Property {
|
||||
// (static) _postman_propertyAllowsMultipleValues :Boolean
|
||||
// (static) _postman_propertyIndexKey :String
|
||||
|
||||
static _index = 'key';
|
||||
|
||||
static parse(queryStr: string) {
|
||||
const params = new UrlSearchParams(queryStr);
|
||||
return Array.from(params.entries())
|
||||
|
||||
Reference in New Issue
Block a user