Skip to content

Commit 15ce1ee

Browse files
committed
feat(core): Provide alias "stringParam" for "param".
1 parent f4aaa2e commit 15ce1ee

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

projects/ngqp/core/src/lib/query-param-builder.service.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,17 @@ export class QueryParamBuilder {
3434
}
3535

3636
/**
37-
* TODO Documentation
37+
* Redirects to {@link stringParam}.
38+
* @see stringParam
3839
*/
3940
public param(opts: QueryParamControlOptsInput<string>): QueryParamControl<string> {
41+
return this.stringParam(opts);
42+
}
43+
44+
/**
45+
* TODO Documentation
46+
*/
47+
public stringParam(opts: QueryParamControlOptsInput<string>): QueryParamControl<string> {
4048
return new QueryParamControl({
4149
serialize: DEFAULT_STRING_SERIALIZER,
4250
deserialize: DEFAULT_STRING_DESERIALIZER,

0 commit comments

Comments
 (0)