UNPKG

para-bridge-demo

Version:

a bridge api for js-ios/andriod rest

19 lines (15 loc) 423 B
import { BridgePlugin } from '../bridge'; export class ClearCache<K> extends BridgePlugin<void, K>{ protected get pluginName() { return '_ntv_web_clear_cache'; } protected get availableMinVersion() { return '1.0.0'; } protected bridgeExecChrome() { throw new Error('ClearCache() 未针对当前环境实现'); } } export const clearCache = () => { return new ClearCache<void>().invokeOnce(); }