You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-06 23:56:13 +02:00
10 lines
357 B
TypeScript
10 lines
357 B
TypeScript
![]() |
import getPluginSettingKeyPrefix from './getPluginSettingKeyPrefix';
|
||
|
|
||
|
// Ensures that the plugin settings and sections are within their own namespace,
|
||
|
// to prevent them from overwriting other plugin settings or the default
|
||
|
// settings.
|
||
|
|
||
|
export default (pluginId: string, key: string): string => {
|
||
|
return `${getPluginSettingKeyPrefix(pluginId)}${key}`;
|
||
|
};
|