@typespec/http 0.45.0-dev.2 → 0.45.0-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -184,7 +184,12 @@ extern dec head(target: Operation);
184
184
  * ```
185
185
  *
186
186
  */
187
- extern dec server(target: Namespace, url: string, description: string, parameters?: object);
187
+ extern dec server(
188
+ target: Namespace,
189
+ url: string,
190
+ description: string,
191
+ parameters?: Record<unknown>
192
+ );
188
193
 
189
194
  /**
190
195
  * Specify this service authentication. See the [documentation in the Http library][https://microsoft.github.io/typespec/standard-library/rest/authentication] for full details.
@@ -198,7 +203,7 @@ extern dec server(target: Namespace, url: string, description: string, parameter
198
203
  * namespace PetStore;
199
204
  * ```
200
205
  */
201
- extern dec useAuth(target: Namespace, auth: object | Union | object[]);
206
+ extern dec useAuth(target: Namespace, auth: {} | Union | {}[]);
202
207
 
203
208
  /**
204
209
  * Specify if inapplicable metadata should be included in the payload for the given entity.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/http",
3
- "version": "0.45.0-dev.2",
3
+ "version": "0.45.0-dev.3",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec HTTP protocol binding",
6
6
  "homepage": "https://github.com/Microsoft/typespec",