fix: type import that is only available ts 3.8 or higher (#2629)

This commit is contained in:
Niklas von Hertzen 2021-08-05 10:17:30 +08:00 committed by GitHub
parent 6651fc6789
commit c5c6fa00d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
import {FEATURES} from './features'; import {FEATURES} from './features';
import type {Context} from './context'; import {Context} from './context';
export class CacheStorage { export class CacheStorage {
private static _link?: HTMLAnchorElement; private static _link?: HTMLAnchorElement;