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

Method state

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

Source from the content-addressed store, hash-verified

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

Callers 2

initializeMethod · 0.95
upgrade.spec.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected