@@ -1130,7 +1130,7 @@ export type CollectionImportResult = {
11301130/**
11311131 * Result of retrieving edges in a collection.
11321132 */
1133- export type CollectionEdgesResult < T extends Record < string , unknown > = any > = {
1133+ export type CollectionEdgesResult < T extends Record < string , any > = any > = {
11341134 edges : Edge < T > [ ] ;
11351135 stats : {
11361136 scannedIndex : number ;
@@ -1192,7 +1192,7 @@ export type SimpleQueryUpdateByExampleResult = {
11921192 * replaced with AQL queries.
11931193 */
11941194export type SimpleQueryRemoveByKeysResult <
1195- T extends Record < string , unknown > = any
1195+ T extends Record < string , any > = any
11961196> = {
11971197 /**
11981198 * Number of documents removed.
@@ -1230,7 +1230,7 @@ export type SimpleQueryRemoveByKeysResult<
12301230 * const documents = db.collection("persons") as DocumentCollection<Person>;
12311231 * ```
12321232 */
1233- export interface DocumentCollection < T extends Record < string , unknown > = any >
1233+ export interface DocumentCollection < T extends Record < string , any > = any >
12341234 extends ArangoCollection {
12351235 /**
12361236 * Checks whether the collection exists.
@@ -2585,7 +2585,7 @@ export interface DocumentCollection<T extends Record<string, unknown> = any>
25852585 * const edges = db.collection("friends") as EdgeCollection<Friend>;
25862586 * ```
25872587 */
2588- export interface EdgeCollection < T extends Record < string , unknown > = any >
2588+ export interface EdgeCollection < T extends Record < string , any > = any >
25892589 extends DocumentCollection < T > {
25902590 /**
25912591 * Retrieves the document matching the given key or id.
@@ -3320,7 +3320,7 @@ export interface EdgeCollection<T extends Record<string, unknown> = any>
33203320 * @internal
33213321 * @hidden
33223322 */
3323- export class Collection < T extends Record < string , unknown > = any >
3323+ export class Collection < T extends Record < string , any > = any >
33243324 implements EdgeCollection < T > , DocumentCollection < T > {
33253325 //#region attributes
33263326 protected _name : string ;
@@ -3337,14 +3337,14 @@ export class Collection<T extends Record<string, unknown> = any>
33373337 }
33383338
33393339 //#region internals
3340- protected _get < T extends Record < string , unknown > > ( path : string , qs ?: any ) {
3340+ protected _get < T extends Record < string , any > > ( path : string , qs ?: any ) {
33413341 return this . _db . request (
33423342 { path : `/_api/collection/${ this . _name } /${ path } ` , qs } ,
33433343 ( res ) => res . body as ArangoResponseMetadata & T
33443344 ) ;
33453345 }
33463346
3347- protected _put < T extends Record < string , unknown > > ( path : string , body ?: any ) {
3347+ protected _put < T extends Record < string , any > > ( path : string , body ?: any ) {
33483348 return this . _db . request (
33493349 {
33503350 method : "PUT" ,
0 commit comments