fix: resolve cyclic import with outgoing message type

avatar placeholder unit test now runs
pull/3083/head
William Grant 11 months ago
parent 6db6a1f65d
commit 3f3c2f92ed

@ -79,7 +79,7 @@ module.exports = {
// make imports without file extensions
'import/extensions': ['warn', 'never'],
// NOTE Remove this line when debugging cyclic dependencies
// NOTE Comment out this line when debugging cyclic dependencies
'import/no-cycle': 'off',
// Prettier overrides:

@ -1,6 +1,6 @@
import { Message } from '.';
import { SignalService } from '../../../protobuf';
import { TTL_DEFAULT } from '../../constants';
import { Message } from './Message';
export abstract class ContentMessage extends Message {
public plainTextBuffer(): Uint8Array {

@ -1,6 +1,5 @@
import { ContentMessage } from './ContentMessage';
import { DataMessage } from './DataMessage';
import { Message } from './Message';
export * from './ContentMessage';
export * from './DataMessage';
export { Message };
export { ContentMessage, DataMessage, Message };

Loading…
Cancel
Save