Skip to content

npm run build failed TypeScript error #4

@voxsync458

Description

@voxsync458

Creating an optimized production build...
Failed to compile.

Uniswap-UI-fork-master/node_modules/@types/react-router/index.d.ts
TypeScript error in Uniswap-UI-fork-master/node_modules/@types/react-router/index.d.ts(149,100):
Type expected. TS1110

147 | ): match | null;
148 |
149 | export type ExtractRouteOptionalParam<T extends string, U = string | number | boolean> = T extends ${infer Param}?
| ^
150 | ? { [k in Param]?: U }
151 | : T extends ${infer Param}*
152 | ? { [k in Param]?: U }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions