snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
This commit is contained in:
30
client/src/global.d.ts
vendored
Normal file
30
client/src/global.d.ts
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
export {};
|
||||
|
||||
import Ui from 'ui';
|
||||
import Utils from 'utils';
|
||||
|
||||
/**
|
||||
* A callback with resolved dependencies passed as parameters.
|
||||
* Should return a value to define a module.
|
||||
*
|
||||
* @param {...any} arguments Resolved dependencies.
|
||||
*/
|
||||
type RequireCallback = (any) => void;
|
||||
|
||||
type RequireErrorCallback = () => void;
|
||||
|
||||
declare global {
|
||||
namespace Espo {
|
||||
// noinspection ES6ConvertVarToLetConst
|
||||
var loader: {
|
||||
require: (id: string, callback: RequireCallback, errorCallback?: RequireErrorCallback) => void;
|
||||
requirePromise: <T = unknown>(id: string) => Promise<T>;
|
||||
}
|
||||
|
||||
// noinspection ES6ConvertVarToLetConst
|
||||
var Ui: Ui
|
||||
|
||||
// noinspection ES6ConvertVarToLetConst
|
||||
var Utils: Utils
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user