1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-25 01:34:07 +02:00

enhance(frontend): migrate overridedDeviceKind to preference

This commit is contained in:
syuilo
2025-03-09 17:14:48 +09:00
parent 27e8805dcb
commit c9c04d8391
6 changed files with 12 additions and 7 deletions

View File

@@ -237,6 +237,7 @@ export class Storage<T extends StateDef> {
* 特定のキーの、簡易的なgetter/setterを作ります
* 主にvue上で設定コントロールのmodelとして使う用
*/
// TODO: 廃止
public makeGetterSetter<K extends keyof T, R = T[K]['default']>(
key: K,
getter?: (v: T[K]['default']) => R,