Normalize package naming
This commit is contained in:
parent
f88ebdf8b7
commit
15759f0db5
4 changed files with 8 additions and 5 deletions
3
ts/protobuf/index.ts
Normal file
3
ts/protobuf/index.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import { signalservice as SignalService } from './SignalService';
|
||||
|
||||
export { SignalService };
|
|
@ -21,7 +21,7 @@ import * as HTML from '../html';
|
|||
|
||||
import * as Attachment from '../../ts/types/Attachment';
|
||||
import * as MIME from '../../ts/types/MIME';
|
||||
import { signalservice as SignalService } from '../../ts/protobuf/SignalService';
|
||||
import { SignalService } from '../../ts/protobuf';
|
||||
|
||||
// TypeScript wants two things when you import:
|
||||
// 1) a normal typescript file
|
||||
|
|
|
@ -6,7 +6,7 @@ import { assert } from 'chai';
|
|||
|
||||
import * as Attachment from '../../types/Attachment';
|
||||
import * as MIME from '../../types/MIME';
|
||||
import { signalservice as SignalService } from '../../protobuf/SignalService';
|
||||
import { SignalService } from '../../protobuf';
|
||||
// @ts-ignore
|
||||
import { stringToArrayBuffer } from '../../../js/modules/string_to_array_buffer';
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@ import is from '@sindresorhus/is';
|
|||
import moment from 'moment';
|
||||
|
||||
import * as GoogleChrome from '../util/GoogleChrome';
|
||||
import { saveURLAsFile } from '../util/saveURLAsFile';
|
||||
import { arrayBufferToObjectURL } from '../util/arrayBufferToObjectURL';
|
||||
import * as MIME from './MIME';
|
||||
import { signalservice as SignalService } from '../protobuf/SignalService';
|
||||
import { arrayBufferToObjectURL } from '../util/arrayBufferToObjectURL';
|
||||
import { saveURLAsFile } from '../util/saveURLAsFile';
|
||||
import { SignalService } from '../protobuf';
|
||||
|
||||
export type Attachment = {
|
||||
fileName?: string | null;
|
||||
|
|
Loading…
Add table
Reference in a new issue