зеркало из https://github.com/Azure/ms-rest-js.git
Fixed types
This commit is contained in:
Родитель
7cc550e780
Коммит
b8e23f6fb2
|
@ -36,7 +36,7 @@ export class URLQuery {
|
|||
* Get the value of the query parameter with the provided name. If no parameter exists with the
|
||||
* provided parameter name, then undefined will be returned.
|
||||
*/
|
||||
public get(parameterName: string): string | undefined {
|
||||
public get(parameterName: string): string | Array<any> | undefined {
|
||||
return parameterName ? this._rawQuery[parameterName] : undefined;
|
||||
}
|
||||
|
||||
|
@ -263,7 +263,7 @@ export class URLBuilder {
|
|||
* Get the value of the query parameter with the provided query parameter name. If no query
|
||||
* parameter exists with the provided name, then undefined will be returned.
|
||||
*/
|
||||
public getQueryParameterValue(queryParameterName: string): string | undefined {
|
||||
public getQueryParameterValue(queryParameterName: string): string | Array<any> | undefined {
|
||||
return this._query ? this._query.get(queryParameterName) : undefined;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче