mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 01:37:32 +03:00 
			
		
		
		
	fix: fix typings on npm
This commit is contained in:
		
							parent
							
								
									47b2177f58
								
							
						
					
					
						commit
						d957ad762d
					
				| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
*
 | 
					*
 | 
				
			||||||
!bundles/*
 | 
					!bundles/*
 | 
				
			||||||
!typings/*
 | 
					!typings/**/*
 | 
				
			||||||
!package.json
 | 
					!package.json
 | 
				
			||||||
!README.md
 | 
					!README.md
 | 
				
			||||||
!LICENSE
 | 
					!LICENSE
 | 
				
			||||||
							
								
								
									
										4
									
								
								custom.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								custom.d.ts
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -18,10 +18,6 @@ declare module '*.css' {
 | 
				
			||||||
declare var __REDOC_VERSION__: string;
 | 
					declare var __REDOC_VERSION__: string;
 | 
				
			||||||
declare var __REDOC_REVISION__: string;
 | 
					declare var __REDOC_REVISION__: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
declare type Dict<T> = {
 | 
					 | 
				
			||||||
  [key: string]: T;
 | 
					 | 
				
			||||||
};
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
interface Element {
 | 
					interface Element {
 | 
				
			||||||
  scrollIntoViewIfNeeded(centerIfNeeded?: boolean): void;
 | 
					  scrollIntoViewIfNeeded(centerIfNeeded?: boolean): void;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										5
									
								
								src/types/index.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								src/types/index.d.ts
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -1,3 +1,8 @@
 | 
				
			||||||
export * from './open-api';
 | 
					export * from './open-api';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
 | 
					export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
 | 
				
			||||||
 | 
					declare global {
 | 
				
			||||||
 | 
					  type Dict<T> = {
 | 
				
			||||||
 | 
					    [key: string]: T;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user