lib-invoice-print/src/typings.d.ts

23 lines
547 B
TypeScript
Raw Normal View History

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