mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-31 15:57:30 +03:00 
			
		
		
		
	chore: update to typescript@3
This commit is contained in:
		
							parent
							
								
									b9c1b49810
								
							
						
					
					
						commit
						3ccc9c4ea6
					
				
							
								
								
									
										80
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										80
									
								
								package.json
									
									
									
									
									
								
							|  | @ -58,24 +58,24 @@ | |||
|     "@cypress/webpack-preprocessor": "2.0.1", | ||||
|     "@types/chai": "4.1.4", | ||||
|     "@types/dompurify": "^0.0.31", | ||||
|     "@types/enzyme": "^3.1.11", | ||||
|     "@types/enzyme-to-json": "^1.5.0", | ||||
|     "@types/jest": "^23.1.6", | ||||
|     "@types/enzyme": "^3.1.13", | ||||
|     "@types/enzyme-to-json": "^1.5.2", | ||||
|     "@types/jest": "^23.3.1", | ||||
|     "@types/json-pointer": "^1.0.30", | ||||
|     "@types/lodash": "^4.14.112", | ||||
|     "@types/lunr": "^2.1.5", | ||||
|     "@types/lodash": "^4.14.116", | ||||
|     "@types/lunr": "^2.1.6", | ||||
|     "@types/mark.js": "^8.11.1", | ||||
|     "@types/marked": "^0.4.0", | ||||
|     "@types/prismjs": "^1.6.4", | ||||
|     "@types/prop-types": "^15.5.3", | ||||
|     "@types/react": "^16.4.6", | ||||
|     "@types/react-dom": "^16.0.6", | ||||
|     "@types/prop-types": "^15.5.5", | ||||
|     "@types/react": "^16.4.11", | ||||
|     "@types/react-dom": "^16.0.7", | ||||
|     "@types/react-hot-loader": "^4.1.0", | ||||
|     "@types/react-tabs": "^1.0.2", | ||||
|     "@types/react-tabs": "^1.0.5", | ||||
|     "@types/tapable": "1.0.4", | ||||
|     "@types/webpack": "^4.4.6", | ||||
|     "@types/webpack": "^4.4.10", | ||||
|     "@types/webpack-env": "^1.13.0", | ||||
|     "@types/yargs": "^11.1.0", | ||||
|     "@types/yargs": "^11.1.1", | ||||
|     "babel-loader": "8.0.0-beta.2", | ||||
|     "babel-plugin-styled-components": "^1.5.1", | ||||
|     "beautify-benchmark": "^0.2.4", | ||||
|  | @ -85,37 +85,37 @@ | |||
|     "core-js": "^2.5.7", | ||||
|     "coveralls": "^3.0.2", | ||||
|     "css-loader": "^1.0.0", | ||||
|     "cypress": "~3.0.2", | ||||
|     "cypress": "~3.1.0", | ||||
|     "deploy-to-gh-pages": "^1.3.6", | ||||
|     "enzyme": "^3.1.1", | ||||
|     "enzyme-adapter-react-16": "^1.0.4", | ||||
|     "enzyme": "^3.4.3", | ||||
|     "enzyme-adapter-react-16": "^1.2.0", | ||||
|     "enzyme-to-json": "^3.3.4", | ||||
|     "fork-ts-checker-webpack-plugin": "^0.4.3", | ||||
|     "fork-ts-checker-webpack-plugin": "0.4.3", | ||||
|     "html-webpack-plugin": "^3.1.0", | ||||
|     "jest": "^23.4.1", | ||||
|     "license-checker": "^20.1.0", | ||||
|     "jest": "^23.5.0", | ||||
|     "license-checker": "^20.2.0", | ||||
|     "lodash": "^4.17.10", | ||||
|     "mobx": "^4.3.1", | ||||
|     "prettier": "^1.13.7", | ||||
|     "prettier": "^1.14.2", | ||||
|     "prettier-eslint": "^8.8.2", | ||||
|     "puppeteer": "^1.6.0", | ||||
|     "puppeteer": "^1.7.0", | ||||
|     "raf": "^3.4.0", | ||||
|     "react": "^16.4.1", | ||||
|     "react-dom": "^16.4.1", | ||||
|     "react": "^16.4.2", | ||||
|     "react-dom": "^16.4.2", | ||||
|     "rimraf": "^2.6.2", | ||||
|     "shelljs": "^0.8.1", | ||||
|     "source-map-loader": "^0.2.1", | ||||
|     "style-loader": "^0.21.0", | ||||
|     "source-map-loader": "^0.2.4", | ||||
|     "style-loader": "^0.22.1", | ||||
|     "swagger2openapi": "^3.2.8", | ||||
|     "ts-jest": "^23.0.0", | ||||
|     "ts-jest": "^23.1.3", | ||||
|     "ts-loader": "4.4.2", | ||||
|     "ts-node": "^7.0.0", | ||||
|     "tslint": "^5.7.0", | ||||
|     "ts-node": "^7.0.1", | ||||
|     "tslint": "^5.11.0", | ||||
|     "tslint-react": "^3.4.0", | ||||
|     "typescript": "^3.0.0-dev.20180712", | ||||
|     "webpack": "^4.16.1", | ||||
|     "webpack-cli": "^3.0.8", | ||||
|     "webpack-dev-server": "^3.1.1", | ||||
|     "typescript": "^3.0.1", | ||||
|     "webpack": "^4.16.5", | ||||
|     "webpack-cli": "^3.1.0", | ||||
|     "webpack-dev-server": "^3.1.5", | ||||
|     "webpack-node-externals": "^1.6.0", | ||||
|     "workerize-loader": "^1.0.3", | ||||
|     "yaml-js": "^0.2.3" | ||||
|  | @ -128,26 +128,26 @@ | |||
|   "dependencies": { | ||||
|     "classnames": "^2.2.6", | ||||
|     "decko": "^1.2.0", | ||||
|     "dompurify": "^1.0.6", | ||||
|     "dompurify": "^1.0.7", | ||||
|     "eventemitter3": "^3.0.0", | ||||
|     "json-pointer": "^0.6.0", | ||||
|     "json-schema-ref-parser": "^5.1.1", | ||||
|     "lunr": "^2.3.0", | ||||
|     "json-schema-ref-parser": "^5.1.2", | ||||
|     "lunr": "^2.3.2", | ||||
|     "mark.js": "^8.11.1", | ||||
|     "marked": "0.3.18", | ||||
|     "marked": "0.5.0", | ||||
|     "memoize-one": "^4.0.0", | ||||
|     "mobx-react": "^5.2.3", | ||||
|     "openapi-sampler": "1.0.0-beta.13", | ||||
|     "mobx-react": "^5.2.5", | ||||
|     "openapi-sampler": "1.0.0-beta.14", | ||||
|     "perfect-scrollbar": "^1.4.0", | ||||
|     "polished": "^1.9.3", | ||||
|     "prismjs": "^1.15.0", | ||||
|     "prop-types": "^15.6.2", | ||||
|     "react-dropdown": "^1.3.0", | ||||
|     "react-hot-loader": "^4.3.3", | ||||
|     "react-dropdown": "^1.6.1", | ||||
|     "react-hot-loader": "^4.3.4", | ||||
|     "react-tabs": "^2.0.0", | ||||
|     "slugify": "^1.2.1", | ||||
|     "slugify": "^1.3.1", | ||||
|     "stickyfill": "^1.1.1", | ||||
|     "styled-components": "^3.3.3", | ||||
|     "styled-components": "^3.4.2", | ||||
|     "tslib": "^1.9.3" | ||||
|   }, | ||||
|   "resolutions": { | ||||
|  |  | |||
|  | @ -33,7 +33,8 @@ export class RedocStandalone extends React.PureComponent<RedocStandaloneProps> { | |||
|       } | ||||
|       return null; | ||||
|     }, | ||||
|     options: PropTypes.object, | ||||
|     options: PropTypes.any, | ||||
|     onLoaded: PropTypes.any, | ||||
|   }; | ||||
| 
 | ||||
|   render() { | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ export const SearchInput = styled.input.attrs({ | |||
|   outline: none; | ||||
| `;
 | ||||
| 
 | ||||
| export const SearchIcon = styled((props: any) => ( | ||||
| export const SearchIcon = styled((props: {className?: string}) => ( | ||||
|   <svg | ||||
|     className={props.className} | ||||
|     version="1.1" | ||||
|  |  | |||
|  | @ -120,13 +120,15 @@ export const MenuItemLabel = withProps<{ | |||
|   active: boolean; | ||||
|   deprecated?: boolean; | ||||
|   type?: string; | ||||
| }>(styled.label).attrs({ | ||||
|   role: 'menuitem', | ||||
|   className: props => | ||||
|     classnames('-depth' + props.depth, { | ||||
|       active: props.active, | ||||
|     }), | ||||
| })` | ||||
| }>( | ||||
|   styled.label.attrs({ | ||||
|     role: 'menuitem', | ||||
|     className: props => | ||||
|       classnames('-depth' + props.depth, { | ||||
|         active: props.active, | ||||
|       }), | ||||
|   }), | ||||
| )` | ||||
|   cursor: pointer; | ||||
|   color: ${props => | ||||
|     props.active ? props.theme.colors.primary.main : props.theme.colors.text.primary}; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user