File tree Expand file tree Collapse file tree
projects/ngqp/core/src/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,16 +38,6 @@ export class QueryParamBuilder {
3838 return new QueryParamGroup ( mappedQueryParams , extras ) ;
3939 }
4040
41- /**
42- * Redirects to {@link stringParam}.
43- * @see stringParam
44- */
45- public param ( opts : QueryParamOptsInput < string [ ] > & { multi : true } ) : QueryParam < string [ ] > ;
46- public param ( opts : QueryParamOptsInput < string > ) : QueryParam < string > ;
47- public param ( opts : QueryParamOptsInput < string | string [ ] > ) : QueryParam < string | string [ ] > {
48- return this . stringParam ( opts ) ;
49- }
50-
5141 /**
5242 * TODO Documentation
5343 */
@@ -93,9 +83,9 @@ export class QueryParamBuilder {
9383 /**
9484 * TODO Documentation
9585 */
96- public customParam < T > ( opts : QueryParamOpts < T [ ] > & { multi : true } ) : QueryParam < T [ ] > ;
97- public customParam < T > ( opts : QueryParamOpts < T > ) : QueryParam < T > ;
98- public customParam < T > ( opts : QueryParamOpts < T | T [ ] > ) : QueryParam < T | T [ ] > {
86+ public param < T > ( opts : QueryParamOpts < T [ ] > & { multi : true } ) : QueryParam < T [ ] > ;
87+ public param < T > ( opts : QueryParamOpts < T > ) : QueryParam < T > ;
88+ public param < T > ( opts : QueryParamOpts < T | T [ ] > ) : QueryParam < T | T [ ] > {
9989 return new QueryParam ( opts ) ;
10090 }
10191
@@ -104,7 +94,7 @@ export class QueryParamBuilder {
10494 return queryParam ;
10595 }
10696
107- return this . param ( {
97+ return this . stringParam ( {
10898 param : queryParam ,
10999 } ) ;
110100 }
You can’t perform that action at this time.
0 commit comments