@@ -12,35 +12,35 @@ export function getEventNameForElement(element: Element): EventType;
1212 * Handles DOM manipulation based on a swap strategy and server-rendered HTML.
1313 *
1414 * @param {string } html - The HTML string returned from the server.
15- * @param {import("../.. /interface.ts").SwapModeType } swap
15+ * @param {import("./interface.ts").SwapModeType } swap
1616 * @param {Element } target - The target DOM element to apply the swap to.
17- * @param {import('../../core/scope/scope.js') .Scope } scope
18- * @param {import('../../core/compile/compile.js').CompileFn } $compile
17+ * @param {ng .Scope } scope
18+ * @param {ng.CompileService } $compile
1919 */
2020export function handleSwapResponse (
2121 html : string ,
22- swap : import ( "../.. /interface.ts" ) . SwapModeType ,
22+ swap : import ( "./interface.ts" ) . SwapModeType ,
2323 target : Element ,
24- scope : import ( "../../core/scope/scope.js" ) . Scope ,
25- $compile : import ( "../../core/compile/compile.js" ) . CompileFn ,
24+ scope : ng . Scope ,
25+ $compile : ng . CompileService ,
2626) : void ;
2727/**
2828 * Creates an HTTP directive factory that supports GET, DELETE, POST, PUT.
2929 *
3030 * @param {"get" | "delete" | "post" | "put" } method - HTTP method to use.
3131 * @param {string } attrName - Attribute name containing the URL.
32- * @returns {import('../../interface.ts') .DirectiveFactory }
32+ * @returns {ng .DirectiveFactory }
3333 */
3434export function createHttpDirective (
3535 method : "get" | "delete" | "post" | "put" ,
3636 attrName : string ,
37- ) : import ( "../../interface.ts" ) . DirectiveFactory ;
38- /** @type {import('../../interface.ts') .DirectiveFactory } */
39- export const ngGetDirective : import ( "../../interface.ts" ) . DirectiveFactory ;
40- /** @type {import('../../interface.ts') .DirectiveFactory } */
41- export const ngDeleteDirective : import ( "../../interface.ts" ) . DirectiveFactory ;
42- /** @type {import('../../interface.ts') .DirectiveFactory } */
43- export const ngPostDirective : import ( "../../interface.ts" ) . DirectiveFactory ;
44- /** @type {import('../../interface.ts') .DirectiveFactory } */
45- export const ngPutDirective : import ( "../../interface.ts" ) . DirectiveFactory ;
37+ ) : ng . DirectiveFactory ;
38+ /** @type {ng .DirectiveFactory } */
39+ export const ngGetDirective : ng . DirectiveFactory ;
40+ /** @type {ng .DirectiveFactory } */
41+ export const ngDeleteDirective : ng . DirectiveFactory ;
42+ /** @type {ng .DirectiveFactory } */
43+ export const ngPostDirective : ng . DirectiveFactory ;
44+ /** @type {ng .DirectiveFactory } */
45+ export const ngPutDirective : ng . DirectiveFactory ;
4646export type EventType = "click" | "change" | "submit" ;
0 commit comments