roadmap/quartz/resources.ts

11 lines
185 B
TypeScript

export interface JSResource {
src: string
loadTime: 'beforeDOMReady' | 'afterDOMReady'
type?: 'module'
}
export interface StaticResources {
css: string[],
js: JSResource[]
}