mirror of https://github.com/logos-co/roadmap.git
18 lines
421 B
TypeScript
18 lines
421 B
TypeScript
declare module '*.scss' {
|
|
const content: string
|
|
export = content
|
|
}
|
|
|
|
// dom custom event
|
|
interface CustomEventMap {
|
|
"nav": CustomEvent<{ url: string }>;
|
|
}
|
|
|
|
declare global {
|
|
interface Document {
|
|
addEventListener<K extends keyof CustomEventMap>(type: K,
|
|
listener: (this: Document, ev: CustomEventMap[K]) => void): void;
|
|
dispatchEvent<K extends keyof CustomEventMap>(ev: CustomEventMap[K]): void;
|
|
}
|
|
}
|