mirror of
https://github.com/motajs/template.git
synced 2026-11-20 11:24:30 +08:00
chore: 使用 void 避免 RenderItem 方法参数以下划线开头
This commit is contained in:
1 parent
2b5d69e7b5
commit
ffb51a1ff9
1 file changed
+8
-4
@@ -863,9 +863,10 @@ export abstract class RenderItem
|
||||
*/
|
||||
protected processBubble<T extends ActionType>(
|
||||
type: T,
|
||||
_event: ActionEventMap[T],
|
||||
event: ActionEventMap[T],
|
||||
inElement: boolean
|
||||
): boolean {
|
||||
void event;
|
||||
switch (type) {
|
||||
case ActionType.Enter:
|
||||
case ActionType.Leave:
|
||||
@@ -956,10 +957,13 @@ export abstract class RenderItem
|
||||
* @param _nextValue 该属性当前的数值
|
||||
*/
|
||||
protected handleProps(
|
||||
_key: string,
|
||||
_prevValue: any,
|
||||
_nextValue: any
|
||||
key: string,
|
||||
prevValue: any,
|
||||
nextValue: any
|
||||
): boolean {
|
||||
void key;
|
||||
void prevValue;
|
||||
void nextValue;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user