* change root dit and change way to import modules * update deps to latest versions * use latest tools for building bundles * rewrite webpack config * use nomodule technique for loading modern bundle * inject polyfills by babel usebuiltins * update eslint rules * rename all style files to CSS * use postcss preset env for building styles * proper typescript typing * put all html files to templates folder * etc
26 lines
532 B
TypeScript
26 lines
532 B
TypeScript
import * as preact from 'preact/src/jsx';
|
|
|
|
declare module 'preact/src/jsx' {
|
|
namespace JSXInternal {
|
|
interface IntrinsicElements {
|
|
'markdown-toolbar': {
|
|
for: string;
|
|
children?: any;
|
|
className: string;
|
|
};
|
|
'md-bold': any;
|
|
'md-header': any;
|
|
'md-italic': any;
|
|
'md-quote': any;
|
|
'md-code': any;
|
|
'md-link': any;
|
|
'md-unordered-list': any;
|
|
'md-ordered-list': any;
|
|
'text-expander': {
|
|
ref: any;
|
|
children: any;
|
|
};
|
|
}
|
|
}
|
|
}
|