first commit
This commit is contained in:
18
grafana/dashboards/requests/node_modules/http-basic/lib/cache-utils.js.flow
generated
vendored
Normal file
18
grafana/dashboards/requests/node_modules/http-basic/lib/cache-utils.js.flow
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// @flow
|
||||
// Generated using flowgen2
|
||||
|
||||
const Response = require('http-response-object');
|
||||
import type {Headers} from './Headers';
|
||||
import type {CachedResponse} from './CachedResponse';
|
||||
|
||||
declare function isMatch(
|
||||
requestHeaders: Headers,
|
||||
cachedResponse: CachedResponse,
|
||||
): boolean;
|
||||
export {isMatch};
|
||||
|
||||
declare function isExpired(cachedResponse: CachedResponse): boolean;
|
||||
export {isExpired};
|
||||
|
||||
declare function canCache<T>(res: Response<T>): boolean;
|
||||
export {canCache};
|
||||
Reference in New Issue
Block a user