Files
docx-js/src/file/media/data.ts
2018-12-24 16:50:53 +00:00

24 lines
547 B
TypeScript

export interface IMediaDataDimensions {
readonly pixels: {
readonly x: number;
readonly y: number;
};
readonly emus: {
readonly x: number;
readonly y: number;
};
}
export interface IMediaData {
readonly stream: Buffer | Uint8Array | ArrayBuffer;
readonly path?: string;
readonly fileName: string;
readonly dimensions: IMediaDataDimensions;
}
// Needed because of: https://github.com/s-panferov/awesome-typescript-loader/issues/432
/**
* @ignore
*/
export const WORKAROUND2 = "";