0a5ab058a6
- Angular 12 application with PrimeNG components - 5 existing Cypress e2e test suites - SCSS styling with BEM naming convention - i18n support (10 languages) - Leaflet map integration - Complete component hierarchy and routing structure This baseline will be used for Angular → React migration.
25 lines
821 B
TypeScript
25 lines
821 B
TypeScript
declare const GLOBAL_PATCHED_SYMBOL: unique symbol;
|
|
declare global {
|
|
interface Location {
|
|
[GLOBAL_PATCHED_SYMBOL]?: true;
|
|
}
|
|
}
|
|
type CompilerTapFn<CallBack extends (...args: unknown[]) => void = () => void> = {
|
|
tap: (name: string, cb: CallBack) => void;
|
|
};
|
|
export declare function patchCompilerGlobalLocation(compiler: {
|
|
hooks: {
|
|
run: CompilerTapFn;
|
|
watchRun: CompilerTapFn;
|
|
watchClose: CompilerTapFn;
|
|
done: CompilerTapFn;
|
|
};
|
|
}): void;
|
|
/**
|
|
* fix resolve-url-loader can't deal with resolve.alias config
|
|
*
|
|
* reference: https://github.com/bholloway/resolve-url-loader/blob/e2695cde68f325f617825e168173df92236efb93/packages/resolve-url-loader/docs/advanced-features.md
|
|
*/
|
|
export declare const getResolveUrlJoinFn: () => ((...args: unknown[]) => void);
|
|
export {};
|