/
opt
/
canhelp
/
node_modules
/
nanostores
/
clean-stores
/
/opt/canhelp/node_modules/nanostores/clean-stores
mkdir
upload
Name
Size
Mode
Actions
index.d.ts
556
0644
edit
dl
rm
index.js
433
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/nanostores/clean-stores/index.d.ts
(556B)
import type { MapCreator } from '../map-creator/index.js' import type { Store } from '../map/index.js' export const clean: unique symbol /** * Destroys all cached stores and call * * It also reset all tasks by calling {@link cleanTasks}. * * ```js * import { cleanStores } from 'nanostores' * * afterEach(() => { * cleanStores($router, $settings) * }) * ``` * * @param stores Used store classes. * @return Promise for stores destroying. */ export function cleanStores( ...stores: (MapCreator<any, any[]> | Store | undefined)[] ): void
Save
cmd:
run