victory
victory copied to clipboard
TypeScript error with victory-core's index.d.ts
Describe the bug Encountered a TypeScript error while attempting to build with the latest victory-core package.
Victory version victory-core: 36.5.3 typescript: 4.7.4
To Reproduce Steps to reproduce the behavior:
- yarn add victory-core
- import from victory-core
- build
- See error
Expected behavior
Removing the type keyword, from the index.d.ts snippet (below) appears to resolve the issue.
export { Border as Box, type BorderProps as BoxProps, } from "./victory-primitives";
Screenshots

Desktop (please complete the following information):
- OS: macOS Monterey
- Version 12.4
Fixed in #2363