lib-invoice-print/src/typings.d.ts
2020-10-16 11:48:05 +07:00

23 lines
547 B
TypeScript

/**
* Default CSS definition for typescript,
* will be overridden with file-specific definitions by rollup
*/
declare module '*.css' {
const content: { [className: string]: string }
export default content
}
interface SvgrComponent
extends React.StatelessComponent<React.SVGAttributes<SVGElement>> {}
declare module '*.svg' {
const svgUrl: string
const svgComponent: SvgrComponent
export default svgUrl
export { svgComponent as ReactComponent }
}
declare module '@cubetiq/invoice-print' {
export * from 'pdfmake/interfaces'
}