mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
es6
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
ee16a992f1
commit
e9386b7fa2
@ -28,7 +28,7 @@ const predicates: Record<string, PredicateFactory> = {
|
||||
return (docs: Doc[]): Doc[] => {
|
||||
const result: Doc[] = []
|
||||
for (const doc of docs) {
|
||||
if (o.includes((doc as any)[propertyKey])) result.push(doc)
|
||||
if (o.indexOf((doc as any)[propertyKey]) !== -1) result.push(doc)
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2016",
|
||||
"target": "ES6",
|
||||
"module": "commonjs",
|
||||
"declaration": true,
|
||||
"strict": true,
|
||||
|
Loading…
Reference in New Issue
Block a user