File tree Expand file tree Collapse file tree 21 files changed +266
-90
lines changed
Expand file tree Collapse file tree 21 files changed +266
-90
lines changed Original file line number Diff line number Diff line change 33 */
44export function ngBindDirective ( ) : ng . Directive ;
55/**
6- * @returns {import('../../interface.ts') .Directive }
6+ * @returns {ng .Directive }
77 */
8- export function ngBindTemplateDirective ( ) : import ( "../../interface.ts" ) . Directive ;
8+ export function ngBindTemplateDirective ( ) : ng . Directive ;
99/**
10- * @param {import('../../core/parse/interface.ts') .ParseService } $parse
11- * @returns {import('../../interface.ts') .Directive }
10+ * @param {ng .ParseService } $parse
11+ * @returns {ng .Directive }
1212 */
13- export function ngBindHtmlDirective (
14- $parse : import ( "../../core/parse/interface.ts" ) . ParseService ,
15- ) : import ( "../../interface.ts" ) . Directive ;
13+ export function ngBindHtmlDirective ( $parse : ng . ParseService ) : ng . Directive ;
1614export namespace ngBindHtmlDirective {
1715 let $inject : string [ ] ;
1816}
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ export class FormController {
155155 * in the shallow copy. That means you should get a fresh copy from `$getControls()` every time
156156 * you need access to the controls.
157157 */
158- $getControls ( ) : any ;
158+ $getControls ( ) : any [ ] ;
159159 $$renameControl ( control : any , newName : any ) : void ;
160160 /**
161161 * Deregister a control from the form.
Original file line number Diff line number Diff line change 11/**
2- * @returns {import('../../interface.ts') .Directive }
2+ * @returns {ng .Directive }
33 */
4- export function ngInitDirective ( ) : import ( "../../interface.ts" ) . Directive ;
4+ export function ngInitDirective ( ) : ng . Directive ;
Original file line number Diff line number Diff line change 11/**
2- * @returns {import('../../interface.ts') .Directive }
2+ * @returns {ng .Directive }
33 */
4- export function ngNonBindableDirective ( ) : import ( "../../interface.ts" ) . Directive ;
4+ export function ngNonBindableDirective ( ) : ng . Directive ;
Original file line number Diff line number Diff line change 11/**
2- * @returns {import('../../interface.ts') .Directive }
2+ * @returns {ng .Directive }
33 */
4- export function selectDirective ( ) : import ( "../../interface.ts" ) . Directive ;
4+ export function selectDirective ( ) : ng . Directive ;
55/**
66 * @param {ng.InterpolateService } $interpolate
77 * @returns {ng.Directive }
Original file line number Diff line number Diff line change 11/**
22 * @param {ng.ParseService } $parse
33 * @param {ng.LogService } $log
4- * @returns {import('interface.ts') .Directive }
4+ * @returns {ng .Directive }
55 */
66export function ngSetterDirective (
77 $parse : ng . ParseService ,
88 $log : ng . LogService ,
9- ) : any ;
9+ ) : ng . Directive ;
1010export namespace ngSetterDirective {
1111 let $inject : string [ ] ;
1212}
Original file line number Diff line number Diff line change @@ -7,11 +7,9 @@ export namespace ngShowDirective {
77 let $inject : string [ ] ;
88}
99/**
10- * @returns {import('../../interface.ts') .Directive }
10+ * @returns {ng .Directive }
1111 */
12- export function ngHideDirective (
13- $animate : any ,
14- ) : import ( "../../interface.ts" ) . Directive ;
12+ export function ngHideDirective ( $animate : any ) : ng . Directive ;
1513export namespace ngHideDirective {
1614 let $inject_1 : string [ ] ;
1715 export { $inject_1 as $inject } ;
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ export namespace ngSwitchDirective {
77 let $inject : string [ ] ;
88}
99/**
10- * @returns {import('../../interface.ts') .Directive }
10+ * @returns {ng .Directive }
1111 */
12- export function ngSwitchWhenDirective ( ) : import ( "../../interface.ts" ) . Directive ;
12+ export function ngSwitchWhenDirective ( ) : ng . Directive ;
1313/**
14- * @returns {import('../../interface.ts') .Directive }
14+ * @returns {ng .Directive }
1515 */
16- export function ngSwitchDefaultDirective ( ) : import ( "../../interface.ts" ) . Directive ;
16+ export function ngSwitchDefaultDirective ( ) : ng . Directive ;
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ export interface DirectivePrePost {
376376 * A link function executed during directive linking.
377377 */
378378export type DirectiveLinkFn < T > = (
379- scope : Scope ,
379+ scope : ng . Scope ,
380380 element : HTMLElement ,
381381 attrs : ng . Attributes ,
382382 controller ?: TController < T > ,
Original file line number Diff line number Diff line change @@ -30,9 +30,15 @@ export class HttpProvider {
3030 common : {
3131 Accept : string ;
3232 } ;
33- post : any ;
34- put : any ;
35- patch : any ;
33+ post : {
34+ "Content-Type" : string ;
35+ } ;
36+ put : {
37+ "Content-Type" : string ;
38+ } ;
39+ patch : {
40+ "Content-Type" : string ;
41+ } ;
3642 } ;
3743 xsrfCookieName : string ;
3844 xsrfHeaderName : string ;
@@ -125,9 +131,15 @@ export class HttpProvider {
125131 common : {
126132 Accept : string ;
127133 } ;
128- post : any ;
129- put : any ;
130- patch : any ;
134+ post : {
135+ "Content-Type" : string ;
136+ } ;
137+ put : {
138+ "Content-Type" : string ;
139+ } ;
140+ patch : {
141+ "Content-Type" : string ;
142+ } ;
131143 } ;
132144 xsrfCookieName : string ;
133145 xsrfHeaderName : string ;
You can’t perform that action at this time.
0 commit comments