upgrade devDependencies, fix internal typing bug caused by variance check
This commit is contained in:
@@ -21,7 +21,7 @@ export function react2angular<Props>(
|
||||
injectNames: string[] = []
|
||||
): IComponentOptions {
|
||||
const names = bindingNames
|
||||
|| (Class.propTypes && Object.keys(Class.propTypes))
|
||||
|| (Class.propTypes && Object.keys(Class.propTypes) as (keyof Props)[])
|
||||
|| []
|
||||
|
||||
return {
|
||||
|
||||
+24
-24
@@ -45,33 +45,33 @@
|
||||
"react-dom": ">=15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/angular": ">=1.5",
|
||||
"@types/angular-mocks": "^1.5.11",
|
||||
"@types/jasmine": "^2.8.6",
|
||||
"@types/jquery": "^3.3.0",
|
||||
"@types/prop-types": "^15.5.2",
|
||||
"@types/react": "^16.0.36",
|
||||
"@types/react-dom": "^16.0.3",
|
||||
"angular-mocks": "^1.6.9",
|
||||
"angular-resource": "^1.6.9",
|
||||
"browserify": "^16.0.0",
|
||||
"jasmine": "^3.0.0",
|
||||
"jasmine-core": "^2.99.1",
|
||||
"karma": "^2.0.0",
|
||||
"karma-browserify": "^5.2.0",
|
||||
"@types/angular": "^1.6.47",
|
||||
"@types/angular-mocks": "^1.6.0",
|
||||
"@types/jasmine": "^2.8.8",
|
||||
"@types/jquery": "^3.3.4",
|
||||
"@types/prop-types": "^15.5.3",
|
||||
"@types/react": "^16.4.1",
|
||||
"@types/react-dom": "^16.0.6",
|
||||
"angular-mocks": "^1.7.2",
|
||||
"angular-resource": "^1.7.2",
|
||||
"browserify": "^16.2.2",
|
||||
"jasmine": "^3.1.0",
|
||||
"jasmine-core": "^3.1.0",
|
||||
"karma": "^2.0.3",
|
||||
"karma-browserify": "^5.3.0",
|
||||
"karma-chrome-launcher": "^2.2.0",
|
||||
"karma-jasmine": "^1.1.1",
|
||||
"karma-jasmine": "^1.1.2",
|
||||
"karma-mocha-reporter": "^2.2.5",
|
||||
"karma-source-map-support": "^1.2.0",
|
||||
"karma-source-map-support": "^1.3.0",
|
||||
"ngimport": "^1.0.0",
|
||||
"npm-run-all": "^4.1.2",
|
||||
"prop-types": "^15.6.0",
|
||||
"react": "^16.2.0",
|
||||
"react-dom": "^16.2.0",
|
||||
"rollupify": "^0.4.0",
|
||||
"tslint": "^5.9.1",
|
||||
"typescript": "^2.7.1",
|
||||
"watchify": "^3.10.0"
|
||||
"npm-run-all": "^4.1.3",
|
||||
"prop-types": "^15.6.2",
|
||||
"react": "^16.4.1",
|
||||
"react-dom": "^16.4.1",
|
||||
"rollupify": "^0.5.0",
|
||||
"tslint": "^5.10.0",
|
||||
"typescript": "^2.9.2",
|
||||
"watchify": "^3.11.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/lodash.frompairs": "^4.0.3",
|
||||
|
||||
Reference in New Issue
Block a user