Skip to content

Commit bc0d2aa

Browse files
Reformat src/types.ts after PermissionRequestResult revert
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b1b2a35 commit bc0d2aa

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

nodejs/src/types.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -877,9 +877,7 @@ import type { PermissionDecisionRequest } from "./generated/rpc.js";
877877
* fields (e.g. `feedback` on `{ kind: "reject" }`) come from the generated
878878
* `PermissionDecisionRequest["result"]` union.
879879
*/
880-
export type PermissionRequestResult =
881-
| PermissionDecisionRequest["result"]
882-
| { kind: "no-result" };
880+
export type PermissionRequestResult = PermissionDecisionRequest["result"] | { kind: "no-result" };
883881

884882
export type PermissionHandler = (
885883
request: PermissionRequest,

0 commit comments

Comments
 (0)