mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
Fix.
This commit is contained in:
parent
596a6da241
commit
c1a589c5b6
7078 changed files with 1882834 additions and 319 deletions
20
node_modules/map-age-cleaner/dist/index.d.ts
generated
vendored
Normal file
20
node_modules/map-age-cleaner/dist/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
interface Entry {
|
||||
[key: string]: any;
|
||||
}
|
||||
interface MaxAgeEntry extends Entry {
|
||||
maxAge: number;
|
||||
}
|
||||
/**
|
||||
* Automatically cleanup the items in the provided `map`. The property of the expiration timestamp should be named `maxAge`.
|
||||
*
|
||||
* @param map - Map instance which should be cleaned up.
|
||||
*/
|
||||
export default function mapAgeCleaner<K = any, V extends MaxAgeEntry = MaxAgeEntry>(map: Map<K, V>): any;
|
||||
/**
|
||||
* Automatically cleanup the items in the provided `map`.
|
||||
*
|
||||
* @param map - Map instance which should be cleaned up.
|
||||
* @param property - Name of the property which olds the expiry timestamp.
|
||||
*/
|
||||
export default function mapAgeCleaner<K = any, V = Entry>(map: Map<K, V>, property: string): any;
|
||||
export {};
|
Loading…
Add table
Add a link
Reference in a new issue