Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "core-dts", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"types": "./src/index.d.ts", | ||
@@ -5,0 +5,0 @@ "author": "kingwl", |
@@ -62,22 +62,20 @@ # core-dts | ||
- [x] `Symbol.metadataKey` for decorators metadata proposal | ||
- [ ] Stage 1 proposals | ||
- [ ] `Observable` | ||
- [ ] New collections methods | ||
- [ ] `.of` and `.from` methods on collection constructors | ||
- [ ] `compositeKey` and `compositeSymbol` | ||
- [ ] `Array` filtering | ||
- [ ] `Array` deduplication | ||
- [ ] Getting last item from `Array` | ||
- [ ] `Number.range` | ||
- [ ] `Number.fromString` | ||
- [ ] `Math` extensions | ||
- [ ] `Math.signbit` | ||
- [ ] `String.cooked` | ||
- [ ] `String.prototype.codePoints` | ||
- [ ] `Symbol.matcher` for pattern matching | ||
- [ ] Stage 0 proposals | ||
- [ ] `Function.prototype.unThis` | ||
- [ ] `Function.{ isCallable, isConstructor }` | ||
- [ ] `URL` | ||
- [ ] Pre-stage 0 proposals | ||
- [ ] `Reflect` metadata | ||
- [x] Stage 1 proposals | ||
- [x] `Observable` | ||
- [x] New collections methods | ||
- [x] `.of` and `.from` methods on collection constructors | ||
- [x] `compositeKey` and `compositeSymbol` | ||
- [x] `Array` filtering | ||
- [x] `Array` deduplication | ||
- [x] Getting last item from `Array` | ||
- [x] `Number.range` | ||
- [x] `Number.fromString` | ||
- [x] `Math` extensions | ||
- [x] `Math.signbit` | ||
- [x] `String.cooked` | ||
- [x] `String.prototype.codePoints` | ||
- [x] `Symbol.matcher` for pattern matching | ||
- [x] Stage 0 proposals | ||
- [x] `Function.prototype.unThis` | ||
- [x] `Function.{ isCallable, isConstructor }` | ||
@@ -1,1 +0,1 @@ | ||
/// <reference path="./stage-2/index.d.ts" /> | ||
/// <reference path="./stage-1/index.d.ts" /> |
@@ -6,2 +6,7 @@ interface Array<T> { | ||
): Record<K, T[]>; | ||
groupToMap<S extends T>( | ||
callback: (value: T, index: number, obj: T) => value is S, | ||
thisArg?: any, | ||
): Map<true, S[]> & Map<false, Exclude<T, S>[]>; | ||
groupToMap<K>( | ||
@@ -8,0 +13,0 @@ callback: (value: T, index: number, obj: T[]) => K, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17902
169
36
422
81