Skip to content

Commit 9dbdf9c

Browse files
authored
fix(types): correct default key combo in typing docs (#1058)
1 parent 35de4ee commit 9dbdf9c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/vite-plugin-svelte-inspector/src/public.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export interface Options {
22
/**
33
* define a key combo to toggle inspector,
4-
* @default 'meta-shift' on mac, 'control-shift' on other os
4+
* @default 'alt-x'
55
*
66
* any number of modifiers `control` `shift` `alt` `meta` followed by zero or one regular key, separated by -
77
* examples: control-shift, control-o, control-alt-s meta-x control-meta
@@ -56,7 +56,7 @@ export interface Options {
5656

5757
/**
5858
* where to display the toggle button
59-
* @default top-right
59+
* @default 'top-right'
6060
*/
6161
toggleButtonPos?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
6262

packages/vite-plugin-svelte-inspector/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ declare module '@sveltejs/vite-plugin-svelte-inspector' {
22
export interface Options {
33
/**
44
* define a key combo to toggle inspector,
5-
* @default 'meta-shift' on mac, 'control-shift' on other os
5+
* @default 'alt-x'
66
*
77
* any number of modifiers `control` `shift` `alt` `meta` followed by zero or one regular key, separated by -
88
* examples: control-shift, control-o, control-alt-s meta-x control-meta
@@ -57,7 +57,7 @@ declare module '@sveltejs/vite-plugin-svelte-inspector' {
5757

5858
/**
5959
* where to display the toggle button
60-
* @default top-right
60+
* @default 'top-right'
6161
*/
6262
toggleButtonPos?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
6363

0 commit comments

Comments
 (0)