Skip to content

Commit

Permalink
fix(types): correct default key combo in typing docs (#1058)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious authored Dec 21, 2024
1 parent 35de4ee commit 9dbdf9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/vite-plugin-svelte-inspector/src/public.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export interface Options {
/**
* define a key combo to toggle inspector,
* @default 'meta-shift' on mac, 'control-shift' on other os
* @default 'alt-x'
*
* any number of modifiers `control` `shift` `alt` `meta` followed by zero or one regular key, separated by -
* examples: control-shift, control-o, control-alt-s meta-x control-meta
Expand Down Expand Up @@ -56,7 +56,7 @@ export interface Options {

/**
* where to display the toggle button
* @default top-right
* @default 'top-right'
*/
toggleButtonPos?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';

Expand Down
4 changes: 2 additions & 2 deletions packages/vite-plugin-svelte-inspector/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ declare module '@sveltejs/vite-plugin-svelte-inspector' {
export interface Options {
/**
* define a key combo to toggle inspector,
* @default 'meta-shift' on mac, 'control-shift' on other os
* @default 'alt-x'
*
* any number of modifiers `control` `shift` `alt` `meta` followed by zero or one regular key, separated by -
* examples: control-shift, control-o, control-alt-s meta-x control-meta
Expand Down Expand Up @@ -57,7 +57,7 @@ declare module '@sveltejs/vite-plugin-svelte-inspector' {

/**
* where to display the toggle button
* @default top-right
* @default 'top-right'
*/
toggleButtonPos?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';

Expand Down

0 comments on commit 9dbdf9c

Please sign in to comment.