Skip to content

Commit

Permalink
chore: export validHookLocation so it gets documented
Browse files Browse the repository at this point in the history
  • Loading branch information
0t4u committed Nov 3, 2024
1 parent 3572c85 commit bdffeef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/etc/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function injectSelectJs(app: Application) {

type ValidHookLocation = keyof RendererHooks | 'false';

const validHookLocations: ValidHookLocation[] = [
export const validHookLocations: ValidHookLocation[] = [
'head.begin',
'head.end',
'body.begin',
Expand All @@ -40,6 +40,7 @@ const validHookLocations: ValidHookLocation[] = [
'comment.beforeTags',
'comment.afterTags',
] as const;

/**
* Injects the new `select` dropdown into the HTML
* @param app
Expand Down

0 comments on commit bdffeef

Please sign in to comment.