MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / alloc

Function alloc

packages/core/vitest.setup.ts:102–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100const cgColors = { CGColor: 1 };
101global.UIColor = {
102 alloc() {
103 return {
104 initWithRedGreenBlueAlpha(r, g, b, a) {
105 return {};
106 },
107 };
108 },
109 clearColor: cgColors,
110};
111global.UITextField = function () {};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected