Normalize package naming

This commit is contained in:
Daniel Gasienica 2018-05-07 14:15:06 -04:00
parent f88ebdf8b7
commit 15759f0db5
4 changed files with 8 additions and 5 deletions

3
ts/protobuf/index.ts Normal file
View File

@ -0,0 +1,3 @@
import { signalservice as SignalService } from './SignalService';
export { SignalService };

View File

@ -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

View 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';

View File

@ -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;