Remove sample setting

This commit is contained in:
Ryota Ushio 2023-12-15 18:11:02 +09:00 committed by GitHub
parent fd2c12460f
commit 13c31ffef9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -3,12 +3,10 @@ import MyPlugin from './main';
export interface MyPluginSettings {
mySetting: string;
}
export const DEFAULT_SETTINGS: MyPluginSettings = {
mySetting: 'default'
}
};
// Inspired by https://stackoverflow.com/a/50851710/13613783
export type KeysOfType<Obj, Type> = NonNullable<{ [k in keyof Obj]: Obj[k] extends Type ? k : never }[keyof Obj]>;