MCPcopy Create free account
hub / github.com/angular/angular / state

Method state

packages/common/upgrade/src/location_shim.ts:745–752  ·  view source on GitHub ↗
(state?: unknown)

Source from the content-addressed store, hash-verified

743 state(): unknown;
744 state(state: unknown): this;
745 state(state?: unknown): unknown | this {
746 if (typeof state === 'undefined') {
747 return this.$$state;
748 }
749
750 this.$$state = state;
751 return this;
752 }
753}
754
755/**

Callers 2

initializeMethod · 0.95
upgrade.spec.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected