woocommerce/packages/js/remote-logging/typings/index.d.ts

13 lines
357 B
TypeScript

declare module '@woocommerce/settings' {
export declare function getAdminLink( path: string ): string;
export declare function getSetting< T >(
name: string,
fallback?: unknown,
filter?: ( val: unknown, fb: unknown ) => unknown
): T;
export declare function isWpVersion(
version: string,
operator: '>' | '>=' | '=' | '<' | '<='
): boolean;
}