File tree 1 file changed +23
-19
lines changed
1 file changed +23
-19
lines changed Original file line number Diff line number Diff line change @@ -1074,28 +1074,32 @@ interface GenericFunction<T> extends Function {
1074
1074
( ...args : any [ ] ) : T ;
1075
1075
}
1076
1076
1077
- interface Function {
1078
- $inject : {
1079
- args : string [ ] ;
1080
- name : string ;
1081
- } ;
1082
- }
1077
+ declare global {
1078
+ // tslint:disable-next-line:interface-name
1079
+ interface Function {
1080
+ $inject : {
1081
+ args : string [ ] ;
1082
+ name : string ;
1083
+ } ;
1084
+ }
1083
1085
1084
- /**
1085
- * Extends Nodejs' Error interface.
1086
- * The native interface already has name and message properties
1087
- */
1088
- interface Error {
1089
- /**
1090
- * Error's stack trace
1091
- * @type {string }
1092
- */
1093
- stack ?: string ;
1094
1086
/**
1095
- * Error's code - could be a string ('ENOENT'), as well as a number (127)
1096
- * @type { string|number }
1087
+ * Extends Nodejs' Error interface.
1088
+ * The native interface already has name and message properties
1097
1089
*/
1098
- code ?: string | number ;
1090
+ // tslint:disable-next-line:interface-name
1091
+ interface Error {
1092
+ /**
1093
+ * Error's stack trace
1094
+ * @type {string }
1095
+ */
1096
+ stack ?: string ;
1097
+ /**
1098
+ * Error's code - could be a string ('ENOENT'), as well as a number (127)
1099
+ * @type {string|number }
1100
+ */
1101
+ code ?: string | number ;
1102
+ }
1099
1103
}
1100
1104
1101
1105
interface IRelease {
You can’t perform that action at this time.
0 commit comments