Giter Site home page Giter Site logo

Cannot build repo about ant-design-icons HOT 2 OPEN

ant-design avatar ant-design commented on July 27, 2024
Cannot build repo

from ant-design-icons.

Comments (2)

Shard avatar Shard commented on July 27, 2024

After a bit of fiddling with the code it looks like its just purely a typescript issue, taking out the typescript casts for ThemeType in a few areas let the code pass and it works just fine.

I believe this might just be wrong types being used? Since the pipe starts off passing a string[] of the 3 types of theme icons but ThemeType is just an enum of the 3 types so maybe the type cast should be a ThemeType[] instead?

I'm not fully versed in Typescript so I could be wrong but im not sure how else this managed to build previously.

from ant-design-icons.

krokofant avatar krokofant commented on July 27, 2024

If on windows you should pin your typescript version:
NG-ZORRO/ng-zorro-antd#2798 (comment)
microsoft/TypeScript#29221

from ant-design-icons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.