diff options
author | Manti <67705577+mantikafasi@users.noreply.github.com> | 2023-05-28 23:03:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-28 22:03:06 +0200 |
commit | 3e3d05fc26a634b17549c9473bd8aeebb7dec4ec (patch) | |
tree | a3591b0b0dea888f24d1ce8e58584b4447f62dde /src/api/Settings.ts | |
parent | 6300198a5463ab38da81906bda634addf4c8a369 (diff) | |
download | Vencord-3e3d05fc26a634b17549c9473bd8aeebb7dec4ec.tar.gz Vencord-3e3d05fc26a634b17549c9473bd8aeebb7dec4ec.tar.bz2 Vencord-3e3d05fc26a634b17549c9473bd8aeebb7dec4ec.zip |
ReviewDB: Add Review Modal & Pagination (#1174)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/api/Settings.ts')
-rw-r--r-- | src/api/Settings.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/api/Settings.ts b/src/api/Settings.ts index e481e48..2f78668 100644 --- a/src/api/Settings.ts +++ b/src/api/Settings.ts @@ -266,7 +266,12 @@ export function definePluginSettings<D extends SettingsDefinition, C extends Set def, checks: checks ?? {}, pluginName: "", + + withPrivateSettings<T>() { + return this as DefinedSettings<D, C> & { store: T; }; + } }; + return definedSettings; } |