diff --git a/contrib/namespace-type-lib/index.d.ts b/contrib/namespace-type-lib/index.d.ts index bb159ee35..ad5c717cb 100644 --- a/contrib/namespace-type-lib/index.d.ts +++ b/contrib/namespace-type-lib/index.d.ts @@ -71,8 +71,6 @@ declare module "@ory/keto-namespace-types" { export type Namespace = namespace - export type SubjectSet< - A extends Namespace, - R extends keyof A["related"], - > = A["related"][R] extends Array ? T : never + export type SubjectSet = + A["related"][R] extends Array ? T : never } diff --git a/docs/ory_permission_language_spec.md b/docs/ory_permission_language_spec.md index 99e732a57..c87873887 100644 --- a/docs/ory_permission_language_spec.md +++ b/docs/ory_permission_language_spec.md @@ -128,10 +128,8 @@ interface Array { traverse(iteratorfn: (element: Namespace) => boolean): boolean } -type SubjectSet< - A extends Namespace, - R extends keyof A["related"], -> = A["related"][R] extends Array ? T : never +type SubjectSet = + A["related"][R] extends Array ? T : never ``` ### Operators diff --git a/package-lock.json b/package-lock.json index daae9ad8b..d44f85888 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "doctoc": "^2.0.1", "license-checker": "^25.0.1", "ory-prettier-styles": "1.3.0", - "prettier": "3.0.3", + "prettier": "3.4.2", "prettier-plugin-packagejson": "^2.4.6" } }, @@ -2760,9 +2760,9 @@ } }, "node_modules/prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -5747,9 +5747,9 @@ "dev": true }, "prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true }, "prettier-plugin-packagejson": { diff --git a/package.json b/package.json index cec6b4a0d..c6d46275d 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "doctoc": "^2.0.1", "license-checker": "^25.0.1", "ory-prettier-styles": "1.3.0", - "prettier": "3.0.3", + "prettier": "3.4.2", "prettier-plugin-packagejson": "^2.4.6" } }