Angular Modernizer
    Preparing search index...

    Variable SIGNAL_WEIGHTSConst

    SIGNAL_WEIGHTS: {
        http: 0.9;
        internal: 0.85;
        name: 0.5;
        pureMapping: 0.75;
        reactiveRead: 0.9;
        reactiveWrite: 0.95;
        serialization: 0.85;
        storage: 0.8;
        typed: 0.85;
        typeName: 0.5;
        wrapperClear: 0.85;
        wrapperWeak: 0.6;
    } = ...

    Signal weights (confidence of one signal).

    Type Declaration

    • Readonlyhttp: 0.9

      Call on an HttpClient or HttpBackend.

    • Readonlyinternal: 0.85

      Call into a method of the same class.

    • Readonlyname: 0.5

      Method name.

    • ReadonlypureMapping: 0.75

      Method without this that takes parameters and returns a value.

    • ReadonlyreactiveRead: 0.9

      Reading a reactive field (asObservable, subscribe, pipe, ...) or returning it.

    • ReadonlyreactiveWrite: 0.95

      next, emit, set, update, complete or error on a reactive field.

    • Readonlyserialization: 0.85

      JSON.parse/JSON.stringify outside an HTTP argument, atob/btoa.

    • Readonlystorage: 0.8

      localStorage, sessionStorage, indexedDB or caches.

    • Readonlytyped: 0.85

      Typed receiver, value, parameter or return type (DOM, file, report, dialog, validator, ...).

    • ReadonlytypeName: 0.5

      Receiver type name hinting at authentication or authorization.

    • ReadonlywrapperClear: 0.85

      Call into a method of another class whose role is clear data access.

    • ReadonlywrapperWeak: 0.6

      Call into a method of another class with any other role.