Fix lint
This commit is contained in:
parent
4bab55f4ba
commit
4b1f1b6828
|
@ -9397,7 +9397,7 @@ namespace ts {
|
|||
* and no required properties or index signatures
|
||||
*/
|
||||
function isWeak(type: Type) {
|
||||
let props = getPropertiesOfType(type);
|
||||
const props = getPropertiesOfType(type);
|
||||
return type.flags & TypeFlags.Object &&
|
||||
props.length > 0 &&
|
||||
every(props, p => !!(p.flags & SymbolFlags.Optional)) &&
|
||||
|
|
Loading…
Reference in a new issue