@@ -133,7 +133,7 @@ export interface ParamDeclaration {
133
133
* - Non-url parameters (`param: { foo: null }`): `any`
134
134
*
135
135
*/
136
- type : string | ParamType ;
136
+ type ? : string | ParamType ;
137
137
138
138
/**
139
139
* The parameter's `array` mode
@@ -168,7 +168,7 @@ export interface ParamDeclaration {
168
168
* @default `auto` for query parameters, such as `url: '/foo?queryParam'`
169
169
* @default `true` if the parameter name ends in `[]`, such as `url: '/foo/{implicitArrayParam:int[]}'`
170
170
*/
171
- array : boolean ;
171
+ array ? : boolean ;
172
172
173
173
/**
174
174
* Squash mode: omit default parameter values in URL
@@ -223,7 +223,7 @@ export interface ParamDeclaration {
223
223
*
224
224
* Default: If squash is not set, it uses the configured default squash policy. (See [[defaultSquashPolicy]]())
225
225
*/
226
- squash : boolean | string ;
226
+ squash ? : boolean | string ;
227
227
228
228
/**
229
229
* @internalapi
@@ -242,15 +242,15 @@ export interface ParamDeclaration {
242
242
* ]
243
243
* ```
244
244
*/
245
- replace : Replace [ ] ;
245
+ replace ? : Replace [ ] ;
246
246
247
247
/**
248
248
* @hidden
249
249
* @internalapi
250
250
*
251
251
* This is not part of the declaration; it is a calculated value depending on if a default value was specified or not.
252
252
*/
253
- isOptional : boolean ;
253
+ isOptional ? : boolean ;
254
254
255
255
/**
256
256
* Dynamic flag
@@ -272,7 +272,7 @@ export interface ParamDeclaration {
272
272
*
273
273
* Default: `false`
274
274
*/
275
- dynamic : boolean ;
275
+ dynamic ? : boolean ;
276
276
277
277
/**
278
278
* Disables url-encoding of parameter values
@@ -310,7 +310,7 @@ export interface ParamDeclaration {
310
310
*
311
311
* Default: `false`
312
312
*/
313
- raw : boolean ;
313
+ raw ? : boolean ;
314
314
315
315
/**
316
316
* Enables/disables inheriting of this parameter's value
@@ -348,7 +348,7 @@ export interface ParamDeclaration {
348
348
*
349
349
* Default: `true`
350
350
*/
351
- inherit : boolean ;
351
+ inherit ? : boolean ;
352
352
}
353
353
354
354
/** @internalapi */
0 commit comments