Skip to content

Commit a36fc33

Browse files
committed
Update types
1 parent c4629f3 commit a36fc33

File tree

10 files changed

+10
-15
lines changed

10 files changed

+10
-15
lines changed

types/animations/animate-css-driver.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ export class AnimateCssDriverProvider {
99
export namespace AnimateCssDriverProvider {
1010
let $inject: string[];
1111
}
12-
import { JQLite } from "../shared/jqlite/jqlite";
12+
import { JQLite } from "../shared/jqlite/jqlite.js";

types/animations/animate.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,4 +401,4 @@ export type AnimationOptions = {
401401
*/
402402
to: string;
403403
};
404-
import { JQLite } from "../shared/jqlite/jqlite";
404+
import { JQLite } from "../shared/jqlite/jqlite.js";

types/core/compile/attributes.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class Attributes {
2020
$exceptionHandler: import("../exception-handler").ErrorHandler;
2121
$sce: any;
2222
$attr: {};
23-
$$element: import("../../shared/jqlite/jqlite").JQLite;
23+
$$element: import("../../shared/jqlite/jqlite.js").JQLite;
2424
/**
2525
* Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with `x-` or
2626
* `data-`) to its normalized, camelCase form.
@@ -87,4 +87,4 @@ export class Attributes {
8787
export type AttributeLike = {
8888
$attr: any;
8989
};
90-
import { directiveNormalize } from "../../shared/utils";
90+
import { directiveNormalize } from "../../shared/utils.js";

types/core/compile/compile.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ export namespace CompileProvider {
108108
* Function that aggregates all linking fns for a compilation root (nodeList)
109109
*/
110110
export type CompositeLinkFn = Function;
111-
import { JQLite } from "../../shared/jqlite/jqlite";
111+
import { JQLite } from "../../shared/jqlite/jqlite.js";

types/core/location/location.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,4 +304,4 @@ export type Html5Mode = {
304304
*/
305305
rewriteLinks: boolean | string;
306306
};
307-
import { JQLite } from "../../shared/jqlite/jqlite";
307+
import { JQLite } from "../../shared/jqlite/jqlite.js";

types/directive/model/model.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class NgModelController {
124124
/** @type {import('../../core/scope/scope.js').Scope} */
125125
$$rootScope: import("../../core/scope/scope.js").Scope;
126126
$$attr: import("../../core/compile/attributes").Attributes;
127-
$$element: import("../../shared/jqlite/jqlite").JQLite;
127+
$$element: import("../../shared/jqlite/jqlite.js").JQLite;
128128
$$animate: any;
129129
$$timeout: any;
130130
$$parse: import("../../core/parse/parse").ParseService;

types/directive/repeat/repeat.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export const ngRepeatDirective: (string | (($parse: any, $animate: any) => {
22
restrict: string;
3-
multiElement: boolean;
43
transclude: string;
54
priority: number;
65
terminal: boolean;

types/services/browser.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ export class BrowserProvider {
108108
$get: (string | (($$taskTrackerFactory: import("../core/task-tracker-factory").TaskTracker) => Browser))[];
109109
}
110110
export type UrlChangeListener = (arg0: string, arg1: string | null) => any;
111-
import { JQLite } from "../shared/jqlite/jqlite";
111+
import { JQLite } from "../shared/jqlite/jqlite.js";

types/shared/test-utils.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ export function browserTrigger(element: HTMLElement | JQLite, event: string): vo
99
* @returns
1010
*/
1111
export function wait(t: number): Promise<any>;
12-
import { JQLite } from "./jqlite/jqlite";
12+
import { JQLite } from "./jqlite/jqlite.js";

types/types.d.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,10 @@ export type Directive = {
148148
bindToController?: boolean | {
149149
[boundProperty: string]: string;
150150
} | undefined;
151-
/**
152-
* Link function.
153-
*/
154-
link?: DirectiveLinkFn | DirectivePrePost | undefined;
155151
/**
156152
* Multi-element directive flag.
157153
*/
158-
multiElement?: boolean | undefined;
154+
link?: DirectiveLinkFn | DirectivePrePost | undefined;
159155
/**
160156
* Skip all directives on element
161157
*/

0 commit comments

Comments
 (0)