mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
fix lint errors
This commit is contained in:
parent
ca03208236
commit
3dc172daf7
2 changed files with 4 additions and 2 deletions
|
|
@ -97,7 +97,9 @@
|
|||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-non-null-assertion": "off",
|
||||
"@typescript-eslint/prefer-optional-chain": "error",
|
||||
"@typescript-eslint/ban-types": "off"
|
||||
"@typescript-eslint/ban-types": "off",
|
||||
"no-shadow": "off",
|
||||
"@typescript-eslint/no-shadow": ["error"]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class TermGroup_ extends React.PureComponent<TermGroupProps> {
|
|||
fn: T,
|
||||
thisObj: any,
|
||||
uid: string
|
||||
): (...args: T extends (uid: string, ...args: infer I) => any ? I : never) => ReturnType<T> {
|
||||
): (...args: T extends (uid: string, ..._args: infer I) => any ? I : never) => ReturnType<T> {
|
||||
if (!this.bound.has(fn)) {
|
||||
this.bound.set(fn, {});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue