mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[code] Reduce type error by adjusting the dependencies of code
This commit is contained in:
parent
eb29bd8d15
commit
e4111ebd59
6 changed files with 583 additions and 104 deletions
|
@ -51,7 +51,7 @@
|
|||
"@types/js-yaml": "^3.11.2",
|
||||
"@types/lodash": "^3.10.1",
|
||||
"@types/mocha": "^5.2.5",
|
||||
"@types/node": "^10.5.3",
|
||||
"@types/node": "^8.10.38",
|
||||
"@types/nodegit": "^0.22.1",
|
||||
"@types/papaparse": "^4.5.5",
|
||||
"@types/pngjs": "^3.3.1",
|
||||
|
@ -65,12 +65,12 @@
|
|||
"@types/react-router-dom": "^4.3.1",
|
||||
"@types/react-test-renderer": "^16.0.3",
|
||||
"@types/reduce-reducers": "^0.1.3",
|
||||
"@types/redux-actions": "^2.3.0",
|
||||
"@types/redux-actions": "^2.2.1",
|
||||
"@types/rimraf": "^2.0.2",
|
||||
"@types/sinon": "^5.0.1",
|
||||
"@types/socket.io": "^1.4.38",
|
||||
"@types/socket.io-client": "^1.4.32",
|
||||
"@types/styled-components": "^4.1.0",
|
||||
"@types/styled-components": "^3.0.1",
|
||||
"@types/supertest": "^2.0.5",
|
||||
"@types/tar-fs": "^1.16.1",
|
||||
"@types/uuid": "^3.4.4",
|
||||
|
@ -129,8 +129,7 @@
|
|||
"tree-kill": "^1.1.0",
|
||||
"ts-loader": "^5.2.2",
|
||||
"ts-jest": "^23.1.3",
|
||||
"tslint": "^5.10.0",
|
||||
"tslint-react": "^3.6.0",
|
||||
"tslint": "^5.11.0",
|
||||
"typescript": "^3.0.3",
|
||||
"vinyl-fs": "^3.0.2",
|
||||
"xml-crypto": "^0.10.1",
|
||||
|
|
|
@ -30,7 +30,7 @@ export function apm(kibana) {
|
|||
euiIconType: 'apmApp',
|
||||
order: 8100
|
||||
},
|
||||
home: ['plugins/apm/register_feature'],
|
||||
home: ['plugins/apm/regi ster_feature'],
|
||||
injectDefaultVars(server) {
|
||||
const config = server.config();
|
||||
return {
|
||||
|
|
|
@ -4,12 +4,8 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
declare module '@elastic/eui' {
|
||||
export const EuiOutsideClickDetector: SFC<any>;
|
||||
}
|
||||
|
||||
import { debounce, isEqual } from 'lodash';
|
||||
import React, { Component, SFC } from 'react';
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import { matchPairs } from '../lib/match_pairs';
|
||||
import { SuggestionsComponent } from './typeahead/suggestions_component';
|
||||
|
|
15
x-pack/plugins/code/types/ui/chrome.d.ts
vendored
15
x-pack/plugins/code/types/ui/chrome.d.ts
vendored
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
declare module 'ui/chrome' {
|
||||
class UiChrome {
|
||||
public setRootController(name: string, provider: (...args: any[]) => any): void;
|
||||
}
|
||||
|
||||
const chrome: UiChrome;
|
||||
|
||||
export default chrome;
|
||||
}
|
13
x-pack/plugins/code/types/ui/modules.d.ts
vendored
13
x-pack/plugins/code/types/ui/modules.d.ts
vendored
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
declare module 'ui/modules' {
|
||||
import angular from 'angular';
|
||||
|
||||
export const uiModules: {
|
||||
get(name: string): angular.IModule;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue