mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
30 lines
584 B
TypeScript
30 lines
584 B
TypeScript
declare module '*.module.css' {
|
|
const classes: { [key: string]: string }
|
|
export default classes
|
|
}
|
|
|
|
declare module '*.module.scss' {
|
|
const classes: { [key: string]: string }
|
|
export default classes
|
|
}
|
|
|
|
declare module '*.svg' {
|
|
import * as React from 'react'
|
|
export const ReactComponent: React.FunctionComponent<
|
|
React.SVGProps<SVGSVGElement>
|
|
>
|
|
const src: string
|
|
export default src
|
|
}
|
|
|
|
interface Window {
|
|
__LUNR__: {
|
|
readonly [language: string]: {
|
|
readonly index: lunr.Index
|
|
readonly store: {
|
|
readonly [key: string]: any
|
|
}
|
|
}
|
|
}
|
|
}
|