Skip to content

Commit 7dc56f3

Browse files
committed
fix(core): Make control properties readonly
1 parent bb15442 commit 7dc56f3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

projects/ngqp/core/src/lib/model.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,22 +144,22 @@ export class QueryParamControl<T> {
144144
public value: T = null;
145145

146146
/** TODO Documentation See QueryParamControlOpts */
147-
public name: string | null;
147+
public readonly name: string | null;
148148

149149
/** TODO Documentation See QueryParamControlOpts */
150-
public serialize: ParamSerializer<T>;
150+
public readonly serialize: ParamSerializer<T>;
151151

152152
/** TODO Documentation See QueryParamControlOpts */
153-
public deserialize: ParamDeserializer<T>;
153+
public readonly deserialize: ParamDeserializer<T>;
154154

155155
/** TODO Documentation See QueryParamControlOpts */
156-
public compareWith: Comparator<T>;
156+
public readonly compareWith: Comparator<T>;
157157

158158
/** TODO Documentation See QueryParamControlOpts */
159-
public multi: boolean;
159+
public readonly multi: boolean;
160160

161161
/** TODO Documentation See QueryParamControlOpts */
162-
public debounceTime: number | null;
162+
public readonly debounceTime: number | null;
163163

164164
private parent: QueryParamGroup;
165165
private changeFunctions: OnChangeFunction<T>[] = [];

0 commit comments

Comments
 (0)