diff --git a/packages/icon-helpers/src/index.ts b/packages/icon-helpers/src/index.ts index afe2b73ed456..8682d72328f4 100644 --- a/packages/icon-helpers/src/index.ts +++ b/packages/icon-helpers/src/index.ts @@ -6,5 +6,7 @@ */ import getAttributes, { defaultAttributes } from './getAttributes'; +import toString, { formatAttributes } from './toString'; +import toSVG from './toSVG'; -export { defaultAttributes, getAttributes }; +export { defaultAttributes, getAttributes, formatAttributes, toString, toSVG }; diff --git a/packages/icon-helpers/tsconfig.json b/packages/icon-helpers/tsconfig.json index 50b186945f22..8296f021fc7c 100644 --- a/packages/icon-helpers/tsconfig.json +++ b/packages/icon-helpers/tsconfig.json @@ -39,14 +39,14 @@ // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ /* JavaScript Support */ - // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ + "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ /* Emit */ "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ - // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ + "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */