MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / alias

Function alias

packages/vite/hmr/frameworks/vue/client/index.ts:278–284  ·  view source on GitHub ↗
(from: string, to?: string)

Source from the content-addressed store, hash-verified

276 // Create underscore aliases to satisfy compiled helper identifiers (e.g. _renderSlot)
277 try {
278 const alias = (from: string, to?: string) => {
279 try {
280 const val = (g as any)[from];
281 const key = to || '_' + from;
282 if (val && !(key in (g as any))) (g as any)[key] = val;
283 } catch {}
284 };
285 alias('renderSlot');
286 alias('normalizeClass');
287 alias('normalizeStyle');

Callers 4

solid.tsFile · 0.85
vueConfigFunction · 0.85
react.tsFile · 0.85
ensureVueGlobalsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected