/** * 值为 ''、undefined、null 则取默认值 * 解决: * 0 || '--' => '--' * reserve(0, '--') => 0 */ declare function reserve(val: any, defaultVal?: any): any; export { reserve };