mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
style(projects): format code
This commit is contained in:
23
src/typings/common.d.ts
vendored
23
src/typings/common.d.ts
vendored
@ -1,25 +1,18 @@
|
||||
/**
|
||||
* the common type namespace
|
||||
*/
|
||||
/** The common type namespace */
|
||||
declare namespace Common {
|
||||
/**
|
||||
* the strategic pattern
|
||||
*/
|
||||
/** The strategic pattern */
|
||||
interface StrategicPattern {
|
||||
/**
|
||||
* the condition
|
||||
*/
|
||||
/** The condition */
|
||||
condition: boolean;
|
||||
/**
|
||||
* if the condition is true, then call the action function
|
||||
*/
|
||||
/** If the condition is true, then call the action function */
|
||||
callback: () => void;
|
||||
}
|
||||
|
||||
/**
|
||||
* the option type
|
||||
* @property value: the option value
|
||||
* @property label: the option label
|
||||
* The option type
|
||||
*
|
||||
* @property value: The option value
|
||||
* @property label: The option label
|
||||
*/
|
||||
type Option<K> = { value: K; label: string };
|
||||
|
||||
|
Reference in New Issue
Block a user