refactor(core): zero circulars + esm ready (#10770)

This commit is contained in:
Nathan Walker
2025-09-18 17:03:23 -07:00
committed by GitHub
parent 1e54baf198
commit c2ff8c1ae7
306 changed files with 9136 additions and 9889 deletions

View File

@ -1,4 +1,5 @@
export { clearInterval, clearTimeout, setInterval, setTimeout } from '../timer';
export * from './animation-helpers';
export * from './common';
export * from './constants';
export * from './debug';
@ -6,6 +7,7 @@ export * from './layout-helper';
export * from './macrotask-scheduler';
export * from './mainthread-helper';
export * from './native-helper';
export * from './shared';
export * from './types';
export const RESOURCE_PREFIX: string;
@ -33,20 +35,6 @@ export function GC();
*/
export function queueGC(delay?: number, useThrottle?: boolean);
/**
* A simple throttle utility
* @param fn Function to throttle
* @param delay Customize the delay (default is 300ms)
*/
export function throttle<T extends Function = any>(fn: T, delay?: number): T;
/**
* A simple debounce utility
* @param fn Function to debounce
* @param delay Customize the delay (default is 300ms)
*/
export function debounce<T extends Function = any>(fn: T, delay?: number, options?: { leading?: boolean }): T;
/**
* Releases the reference to the wrapped native object
* @param object The Java/Objective-C object to release.