File tree Expand file tree Collapse file tree
src/plugins/kibana_usage_collection/server/collectors/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 * under the License.
1818 */
1919
20- import { CoreUsageData , CoreUsageDataStart } from 'src/core/server' ;
2120import { UsageCollectionSetup } from 'src/plugins/usage_collection/server' ;
21+ import {
22+ CoreUsageData ,
23+ CoreUsageDataStart ,
24+ // eslint-disable-next-line @kbn/eslint/no-restricted-paths
25+ } from '../../../../../core/server/core_usage_data/types' ;
26+ // telemetry_check is unable to check types which are re-exported, it only
27+ // works when pointed to the typescript file where the type was defined.
2228import { KIBANA_STATS_TYPE } from '../../../common/constants' ;
2329
2430export function getCoreUsageCollector (
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import {
2424
2525import { registerCoreUsageCollector } from '.' ;
2626import { coreUsageDataServiceMock } from '../../../../../core/server/mocks' ;
27- import { CoreUsageData } from 'src/core/server' ;
27+ import { CoreUsageData } from 'src/core/server/ ' ;
2828
2929describe ( 'telemetry_core' , ( ) => {
3030 let collector : CollectorOptions ;
You can’t perform that action at this time.
0 commit comments