Skip to content

Commit 0126def

Browse files
committed
update comments
1 parent 4ccf37a commit 0126def

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@ const isServer = typeof window === 'undefined'
1616
let sharedInstance: I18n = null
1717

1818
/**
19-
* The default options, for the plugin.
19+
* The default options, for the I18n class
2020
*/
2121
const DEFAULT_OPTIONS: OptionsInterface = {
2222
lang: !isServer && document.documentElement.lang ? document.documentElement.lang.replace('-', '_') : null,
2323
fallbackLang: 'en',
2424
resolve: (lang: string) => new Promise((resolve) => resolve({ default: {} }))
2525
}
2626

27+
/**
28+
* The default options, for the plugin.
29+
*/
2730
const DEFAULT_PLUGIN_OPTIONS: PluginOptionsInterface = {
2831
shared: true
2932
}

0 commit comments

Comments
 (0)