2019-02-07 14:37:50 +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;
|
|
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
declare module '*.html' {
|
|
|
|
const template: string;
|
2019-04-05 20:14:26 +02:00
|
|
|
// eslint-disable-next-line import/no-default-export
|
2019-02-07 14:37:50 +01:00
|
|
|
export default template;
|
|
|
|
}
|
2019-06-07 17:07:07 +02:00
|
|
|
|
2020-03-31 21:21:36 +02:00
|
|
|
declare module '*.png' {
|
|
|
|
const content: string;
|
|
|
|
// eslint-disable-next-line import/no-default-export
|
|
|
|
export default content;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.svg' {
|
|
|
|
const content: string;
|
|
|
|
// eslint-disable-next-line import/no-default-export
|
|
|
|
export default content;
|
|
|
|
}
|
|
|
|
|
2019-06-14 06:45:16 +02:00
|
|
|
declare module 'axios/lib/adapters/xhr';
|
2019-07-01 19:54:34 +02:00
|
|
|
|
2020-10-05 19:43:44 +02:00
|
|
|
// Storybook references this module. It's @ts-ignored in the codebase but when
|
|
|
|
// built into its dist it strips that out. Add it here to avoid a type checking
|
|
|
|
// error.
|
|
|
|
//
|
|
|
|
// See https://github.com/storybookjs/storybook/issues/11684
|
|
|
|
declare module 'react-syntax-highlighter/dist/cjs/create-element';
|