Merge remote-tracking branch 'soybeanjs/main'

# Conflicts:
#	README.en_US.md
#	README.md
This commit is contained in:
xlsea
2025-05-10 11:23:59 +08:00
4 changed files with 10 additions and 5 deletions

View File

@ -14,7 +14,7 @@ declare namespace CommonType {
* @property value: The option value
* @property label: The option label
*/
type Option<K = string> = { value: K; label: string };
type Option<K = string, M = string> = { value: K; label: M };
/** The record type */
type Record<K extends string | number = string> = { [key in K]: string };