Skip to content

Commit d5dae07

Browse files
authored
chore(consts): add missing as const to ACTOR_PERMISSION_LEVEL (#578)
Makes the `ACTOR_PERMISSION_LEVEL` a constant. So its options are not considered as any string.
1 parent 546cf84 commit d5dae07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/consts/src/consts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,6 @@ export const ACTOR_PERMISSION_LEVEL = {
703703
* For details refer to the Apify documentation.
704704
*/
705705
LIMITED_PERMISSIONS: 'LIMITED_PERMISSIONS',
706-
};
706+
} as const;
707707

708708
export type ACTOR_PERMISSION_LEVEL = ValueOf<typeof ACTOR_PERMISSION_LEVEL>;

0 commit comments

Comments
 (0)