2018-05-29 05:06:30 +02:00
|
|
|
/*
|
2021-01-20 02:52:56 +01:00
|
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
|
|
* and the Server Side Public License, v 1; you may not use this file except in
|
|
|
|
* compliance with, at your election, the Elastic License or the Server Side
|
|
|
|
* Public License, v 1.
|
2018-05-29 05:06:30 +02:00
|
|
|
*/
|
|
|
|
|
2019-10-03 00:23:44 +02:00
|
|
|
declare module '*.html' {
|
|
|
|
const template: string;
|
|
|
|
// eslint-disable-next-line import/no-default-export
|
|
|
|
export default template;
|
|
|
|
}
|
|
|
|
|
2019-10-01 09:11:33 +02:00
|
|
|
type MethodKeysOf<T> = {
|
|
|
|
[K in keyof T]: T[K] extends (...args: any[]) => any ? K : never;
|
|
|
|
}[keyof T];
|
2017-01-25 16:58:56 +01:00
|
|
|
|
2019-10-01 09:11:33 +02:00
|
|
|
type PublicMethodsOf<T> = Pick<T, MethodKeysOf<T>>;
|