diff --git a/packages/ffe-symbols-react/package.json b/packages/ffe-symbols-react/package.json index 1a95b9e5ac..c8113bb6fb 100644 --- a/packages/ffe-symbols-react/package.json +++ b/packages/ffe-symbols-react/package.json @@ -6,7 +6,7 @@ "module": "es/index.js", "types": "types/index.d.ts", "scripts": { - "build": "ffe-buildtool babel", + "build": "ffe-buildtool babel && cp src/symbolNames.ts types/symbolNames.ts", "watch": "ffe-buildtool babel-watch", "lint": "eslint src", "test": "ffe-buildtool jest", diff --git a/packages/ffe-symbols-react/src/index.d.ts b/packages/ffe-symbols-react/src/index.d.ts index 454012ed8b..792d70c029 100644 --- a/packages/ffe-symbols-react/src/index.d.ts +++ b/packages/ffe-symbols-react/src/index.d.ts @@ -1,5 +1,5 @@ import * as React from 'react'; -import { SymbolName } from './typings/symbolNames.ts'; +import { SymbolName } from './symbolNames.ts'; export interface SymbolProps { fill?: boolean; diff --git a/packages/ffe-symbols-react/src/typings/symbolNames.ts b/packages/ffe-symbols-react/src/symbolNames.ts similarity index 100% rename from packages/ffe-symbols-react/src/typings/symbolNames.ts rename to packages/ffe-symbols-react/src/symbolNames.ts