Coder Social home page Coder Social logo

Comments (7)

christopherthielen avatar christopherthielen commented on April 24, 2024 3

New core and angularjs releases tonight

from core.

helmutschneider avatar helmutschneider commented on April 24, 2024 1

@christopherthielen Not sure why this was closed - the issue still exists in the current code:

export interface HookMatchCriteria {
  [key: string]: HookMatchCriterion;
  to?: HookMatchCriterion | undefined;
  from?: HookMatchCriterion | undefined;
  exiting?: HookMatchCriterion | undefined;
  retained?: HookMatchCriterion | undefined;
  entering?: HookMatchCriterion | undefined;
}

[key: string]: HookMatchCriterion is typed as non-undefined which causes the compilation to fail on all the optional properties. The code should probably read:

export interface HookMatchCriteria {
    [key: string]: HookMatchCriterion | undefined;
    to?: HookMatchCriterion;
    from?: HookMatchCriterion;
    exiting?: HookMatchCriterion;
    retained?: HookMatchCriterion;
    entering?: HookMatchCriterion;
}

from core.

gaui avatar gaui commented on April 24, 2024 1

When is 0ae585e going to be released? I added that patch and everything compiles.

from core.

mrahhal avatar mrahhal commented on April 24, 2024

Also still facing this.

from core.

AnimaLupi avatar AnimaLupi commented on April 24, 2024

Same issue here.

EDIT: Investigating atm as I'm probably on an older version due to compatibility with the rest of the app.

EDIT2: It seems to be an issue even with latest ui-router/core 5.0.4.

from core.

mrahhal avatar mrahhal commented on April 24, 2024

Right now this is the only blocker for me to use the "strict" option. A bit frustrating.

from core.

gaui avatar gaui commented on April 24, 2024

Chris 🙏

from core.

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.