mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-01 01:59:33 +00:00
Update to esm, update deepslate (#244)
This commit is contained in:
@@ -4,7 +4,7 @@ import * as zip from '@zip.js/zip.js'
|
||||
import yaml from 'js-yaml'
|
||||
import { route } from 'preact-router'
|
||||
import rfdc from 'rfdc'
|
||||
import config from '../config.json'
|
||||
import config from './Config.js'
|
||||
|
||||
export function isPromise(obj: any): obj is Promise<any> {
|
||||
return typeof (obj as any)?.then === 'function'
|
||||
|
||||
Reference in New Issue
Block a user