diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..b58b603 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,5 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..8ce5817 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..03d9549 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/invoice-print.iml b/.idea/invoice-print.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/invoice-print.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..24eb271 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..0441744 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/index.tsx b/src/index.tsx index bd0d647..2e60070 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -9,6 +9,6 @@ export const ExampleComponent = ({ text }: Props) => { return
Example Component: {text}
} -export * from 'pdfmake/interfaces' +// export * from 'pdfmake/interfaces' export * from 'pdfmake/build/pdfmake' export * from './invoice' diff --git a/src/typings.d.ts b/src/typings.d.ts index cd16102..a88021a 100644 --- a/src/typings.d.ts +++ b/src/typings.d.ts @@ -3,15 +3,20 @@ * will be overridden with file-specific definitions by rollup */ declare module '*.css' { - const content: { [className: string]: string }; - export default content; + const content: { [className: string]: string } + export default content } -interface SvgrComponent extends React.StatelessComponent> {} +interface SvgrComponent + extends React.StatelessComponent> {} declare module '*.svg' { - const svgUrl: string; - const svgComponent: SvgrComponent; - export default svgUrl; + const svgUrl: string + const svgComponent: SvgrComponent + export default svgUrl export { svgComponent as ReactComponent } } + +declare module '@cubetiq/invoice-print' { + export * from 'pdfmake/interfaces' +}