style(projects): format code

This commit is contained in:
Soybean
2023-12-14 21:45:29 +08:00
parent a176dc443e
commit a748166399
127 changed files with 2472 additions and 3006 deletions

View File

@ -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 };