Skip to content

Commit

Permalink
docs: fix generated-meta.ts snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX committed Oct 26, 2024
1 parent c5b73ca commit 41322e3
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions docs/snippets/generated-meta.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
export interface ScopedConfigKeyTypeMap {
export interface NestedScopedConfigs {
disabled: boolean
autoDetection: boolean
localesPaths: undefined
encoding: string
decoration: {
enabled: boolean
color: string
mode: 'text' | 'gutter'
}
}

export const scopedConfigs = {
scope: 'i18n-ally',
defaults: {
disabled: false,
autoDetection: true,
localesPaths: undefined,
encoding: 'utf-8',
'disabled': false,
'decoration.enabled': true,
'decoration.color': '#ff0000',
'decoration.mode': 'text',
// ...
},
}
Expand Down

0 comments on commit 41322e3

Please sign in to comment.