fix: some type errors around fastify plugins (#9391)
This commit is contained in:
		
							parent
							
								
									462b917e46
								
							
						
					
					
						commit
						d7f8fd6d1a
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								.yarnrc.yml
									
										
									
									
									
								
							
							
						
						
									
										13
									
								
								.yarnrc.yml
									
										
									
									
									
								
							|  | @ -20,6 +20,19 @@ packageExtensions: | ||||||
|   koa-views@*: |   koa-views@*: | ||||||
|     dependencies: |     dependencies: | ||||||
|       pug: "*" |       pug: "*" | ||||||
|  |   # these are needed to extend fastify types | ||||||
|  |   "@fastify/accepts@*": | ||||||
|  |     peerDependencies: | ||||||
|  |       fastify: "*" | ||||||
|  |   "@fastify/cookie@*": | ||||||
|  |     peerDependencies: | ||||||
|  |       fastify: "*" | ||||||
|  |   "@fastify/static@*": | ||||||
|  |     peerDependencies: | ||||||
|  |       fastify: "*" | ||||||
|  |   "@fastify/view@*": | ||||||
|  |     peerDependencies: | ||||||
|  |       fastify: "*" | ||||||
| 
 | 
 | ||||||
| plugins: | plugins: | ||||||
|   - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs |   - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue