Add missing type annotations
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@ -8,7 +8,7 @@ import db, { IPackage } from "../db.ts";
 | 
			
		||||
import { v4 } from "https://deno.land/std/uuid/mod.ts";
 | 
			
		||||
 | 
			
		||||
export default function api(g: ABC.Group) {
 | 
			
		||||
   const cacheControl = (next) => (ctx) => {
 | 
			
		||||
   const cacheControl = (next: ABC.HandlerFunc) => (ctx: ABC.Context) => {
 | 
			
		||||
      ctx.response.headers.set("cache-control", "private");
 | 
			
		||||
      next(ctx);
 | 
			
		||||
   };
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user