mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 19:14:16 +00:00
format & fix bad ts typing
This commit is contained in:
parent
763766997a
commit
a694b82a74
@ -50,7 +50,7 @@ export function getCircularReplacer() {
|
|||||||
export function __proto__filterSchematizedArray(data) {
|
export function __proto__filterSchematizedArray(data) {
|
||||||
let tmp = []
|
let tmp = []
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
data.forEach(async (element: { require }) => {
|
data.forEach(async (element) => {
|
||||||
if (typeof (element.require) !== 'undefined') {
|
if (typeof (element.require) !== 'undefined') {
|
||||||
const validRequire = await window.requireQuery(element.require)
|
const validRequire = await window.requireQuery(element.require)
|
||||||
validRequire ? tmp.push(element) : null
|
validRequire ? tmp.push(element) : null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user