File tree Expand file tree Collapse file tree 1 file changed +23
-19
lines changed Expand file tree Collapse file tree 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 {
10741074 ( ...args : any [ ] ) : T ;
10751075}
10761076
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+ }
10831085
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 ;
10941086 /**
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
10971089 */
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+ }
10991103}
11001104
11011105interface IRelease {
You can’t perform that action at this time.
0 commit comments