We approximate own properties as non-methods plus methods that are inside the object literal
(prop)
| 62990 | } |
| 62991 | /** We approximate own properties as non-methods plus methods that are inside the object literal */ |
| 62992 | function isSpreadableProperty(prop) { |
| 62993 | var _a; |
| 62994 | return !ts.some(prop.declarations, ts.isPrivateIdentifierClassElementDeclaration) && |
| 62995 | (!(prop.flags & (8192 /* SymbolFlags.Method */ | 32768 /* SymbolFlags.GetAccessor */ | 65536 /* SymbolFlags.SetAccessor */)) || |
| 62996 | !((_a = prop.declarations) === null || _a === void 0 ? void 0 : _a.some(function (decl) { return ts.isClassLike(decl.parent); }))); |
| 62997 | } |
| 62998 | function getSpreadSymbol(prop, readonly) { |
| 62999 | var isSetonlyAccessor = prop.flags & 65536 /* SymbolFlags.SetAccessor */ && !(prop.flags & 32768 /* SymbolFlags.GetAccessor */); |
| 63000 | if (!isSetonlyAccessor && readonly === isReadonlySymbol(prop)) { |
no test coverage detected
searching dependent graphs…