-
The line "export type { SVGIconProps } from './types'" that was added in the following commit: 9730adf does not compile with Typescript version 3.7.2 that we are currently using. The error we get is: "Declaration or statement expected" and "';' expected" We are using Typescript 3.7.2 and icon-library 2.29.0. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We recommend upgrading TypeScript to the next major (4) or at least bumping the minor. The feature causing your build to fail (type-only imports and exports) was added to TypeScript in 3.8 (https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html). We are using the latest version of TypeScript throughout the design system now. |
Beta Was this translation helpful? Give feedback.
We recommend upgrading TypeScript to the next major (4) or at least bumping the minor.
The feature causing your build to fail (type-only imports and exports) was added to TypeScript in 3.8 (https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html).
We are using the latest version of TypeScript throughout the design system now.