Remove sample setting
This commit is contained in:
parent
fd2c12460f
commit
13c31ffef9
|
@ -3,12 +3,10 @@ import MyPlugin from './main';
|
||||||
|
|
||||||
|
|
||||||
export interface MyPluginSettings {
|
export interface MyPluginSettings {
|
||||||
mySetting: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const DEFAULT_SETTINGS: MyPluginSettings = {
|
export const DEFAULT_SETTINGS: MyPluginSettings = {
|
||||||
mySetting: 'default'
|
};
|
||||||
}
|
|
||||||
|
|
||||||
// Inspired by https://stackoverflow.com/a/50851710/13613783
|
// 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]>;
|
export type KeysOfType<Obj, Type> = NonNullable<{ [k in keyof Obj]: Obj[k] extends Type ? k : never }[keyof Obj]>;
|
||||||
|
|
Loading…
Reference in New Issue