Fix EsLint Brackets (error markup 'const').

This commit is contained in:
2018-11-22 16:41:46 +01:00
parent 75add7333d
commit d20e8a9d10
6005 changed files with 337788 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
export declare function getSymbolIterator(): symbol;
export declare const iterator: symbol;
/**
* @deprecated use {@link iterator} instead
*/
export declare const $$iterator: symbol;
+12
View File
@@ -0,0 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function getSymbolIterator() {
if (typeof Symbol !== 'function' || !Symbol.iterator) {
return '@@iterator';
}
return Symbol.iterator;
}
exports.getSymbolIterator = getSymbolIterator;
exports.iterator = getSymbolIterator();
exports.$$iterator = exports.iterator;
//# sourceMappingURL=iterator.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"iterator.js","sources":["../../src/internal/symbol/iterator.ts"],"names":[],"mappings":";;AAAA,SAAgB,iBAAiB;IAC/B,IAAI,OAAO,MAAM,KAAK,UAAU,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;QACpD,OAAO,YAAmB,CAAC;KAC5B;IAED,OAAO,MAAM,CAAC,QAAQ,CAAC;AACzB,CAAC;AAND,8CAMC;AAEY,QAAA,QAAQ,GAAG,iBAAiB,EAAE,CAAC;AAK/B,QAAA,UAAU,GAAG,gBAAQ,CAAC"}
+8
View File
@@ -0,0 +1,8 @@
/** Symbol.observable addition */
declare global {
interface SymbolConstructor {
readonly observable: symbol;
}
}
/** Symbol.observable or a string "@@observable". Used for interop */
export declare const observable: string | symbol;
+4
View File
@@ -0,0 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.observable = typeof Symbol === 'function' && Symbol.observable || '@@observable';
//# sourceMappingURL=observable.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"observable.js","sources":["../../src/internal/symbol/observable.ts"],"names":[],"mappings":";;AAYa,QAAA,UAAU,GAAG,OAAO,MAAM,KAAK,UAAU,IAAI,MAAM,CAAC,UAAU,IAAI,cAAc,CAAC"}
+6
View File
@@ -0,0 +1,6 @@
/** @deprecated do not use, this is no longer checked by RxJS internals */
export declare const rxSubscriber: string | symbol;
/**
* @deprecated use rxSubscriber instead
*/
export declare const $$rxSubscriber: string | symbol;
+7
View File
@@ -0,0 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rxSubscriber = typeof Symbol === 'function'
? Symbol('rxSubscriber')
: '@@rxSubscriber_' + Math.random();
exports.$$rxSubscriber = exports.rxSubscriber;
//# sourceMappingURL=rxSubscriber.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"rxSubscriber.js","sources":["../../src/internal/symbol/rxSubscriber.ts"],"names":[],"mappings":";;AACa,QAAA,YAAY,GACvB,OAAO,MAAM,KAAK,UAAU;IAC1B,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC;IACxB,CAAC,CAAC,iBAAiB,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;AAK3B,QAAA,cAAc,GAAG,oBAAY,CAAC"}