MCPcopy
hub / github.com/angular/angular / state

Method state

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

Source from the content-addressed store, hash-verified

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

Callers 2

initializeMethod · 0.95
upgrade.spec.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected