[ci] format

This commit is contained in:
matthewp 2022-07-11 12:13:57 +00:00 committed by fredkbot
parent 21869a614a
commit 0fd645e32f

View file

@ -1,65 +1,65 @@
/// <reference types="vite/types/importMeta" /> /// <reference types="vite/types/importMeta" />
// CSS modules // CSS modules
type CSSModuleClasses = { readonly [key: string]: string } type CSSModuleClasses = { readonly [key: string]: string };
declare module '*.module.css' { declare module '*.module.css' {
const classes: CSSModuleClasses const classes: CSSModuleClasses;
export default classes export default classes;
} }
declare module '*.module.scss' { declare module '*.module.scss' {
const classes: CSSModuleClasses const classes: CSSModuleClasses;
export default classes export default classes;
} }
declare module '*.module.sass' { declare module '*.module.sass' {
const classes: CSSModuleClasses const classes: CSSModuleClasses;
export default classes export default classes;
} }
declare module '*.module.less' { declare module '*.module.less' {
const classes: CSSModuleClasses const classes: CSSModuleClasses;
export default classes export default classes;
} }
declare module '*.module.styl' { declare module '*.module.styl' {
const classes: CSSModuleClasses const classes: CSSModuleClasses;
export default classes export default classes;
} }
declare module '*.module.stylus' { declare module '*.module.stylus' {
const classes: CSSModuleClasses const classes: CSSModuleClasses;
export default classes export default classes;
} }
declare module '*.module.pcss' { declare module '*.module.pcss' {
const classes: CSSModuleClasses const classes: CSSModuleClasses;
export default classes export default classes;
} }
// CSS // CSS
declare module '*.css' { declare module '*.css' {
const css: string const css: string;
export default css export default css;
} }
declare module '*.scss' { declare module '*.scss' {
const css: string const css: string;
export default css export default css;
} }
declare module '*.sass' { declare module '*.sass' {
const css: string const css: string;
export default css export default css;
} }
declare module '*.less' { declare module '*.less' {
const css: string const css: string;
export default css export default css;
} }
declare module '*.styl' { declare module '*.styl' {
const css: string const css: string;
export default css export default css;
} }
declare module '*.stylus' { declare module '*.stylus' {
const css: string const css: string;
export default css export default css;
} }
declare module '*.pcss' { declare module '*.pcss' {
const css: string const css: string;
export default css export default css;
} }
// Built-in asset types // Built-in asset types
@ -67,141 +67,141 @@ declare module '*.pcss' {
// images // images
declare module '*.jpg' { declare module '*.jpg' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.jpeg' { declare module '*.jpeg' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.png' { declare module '*.png' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.gif' { declare module '*.gif' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.svg' { declare module '*.svg' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.ico' { declare module '*.ico' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.webp' { declare module '*.webp' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.avif' { declare module '*.avif' {
const src: string const src: string;
export default src export default src;
} }
// media // media
declare module '*.mp4' { declare module '*.mp4' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.webm' { declare module '*.webm' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.ogg' { declare module '*.ogg' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.mp3' { declare module '*.mp3' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.wav' { declare module '*.wav' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.flac' { declare module '*.flac' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.aac' { declare module '*.aac' {
const src: string const src: string;
export default src export default src;
} }
// fonts // fonts
declare module '*.woff' { declare module '*.woff' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.woff2' { declare module '*.woff2' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.eot' { declare module '*.eot' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.ttf' { declare module '*.ttf' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.otf' { declare module '*.otf' {
const src: string const src: string;
export default src export default src;
} }
// other // other
declare module '*.wasm' { declare module '*.wasm' {
const initWasm: (options: WebAssembly.Imports) => Promise<WebAssembly.Exports> const initWasm: (options: WebAssembly.Imports) => Promise<WebAssembly.Exports>;
export default initWasm export default initWasm;
} }
declare module '*.webmanifest' { declare module '*.webmanifest' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.pdf' { declare module '*.pdf' {
const src: string const src: string;
export default src export default src;
} }
declare module '*.txt' { declare module '*.txt' {
const src: string const src: string;
export default src export default src;
} }
// web worker // web worker
declare module '*?worker' { declare module '*?worker' {
const workerConstructor: { const workerConstructor: {
new (): Worker new (): Worker;
} };
export default workerConstructor export default workerConstructor;
} }
declare module '*?worker&inline' { declare module '*?worker&inline' {
const workerConstructor: { const workerConstructor: {
new (): Worker new (): Worker;
} };
export default workerConstructor export default workerConstructor;
} }
declare module '*?sharedworker' { declare module '*?sharedworker' {
const sharedWorkerConstructor: { const sharedWorkerConstructor: {
new (): SharedWorker new (): SharedWorker;
} };
export default sharedWorkerConstructor export default sharedWorkerConstructor;
} }
declare module '*?raw' { declare module '*?raw' {
const src: string const src: string;
export default src export default src;
} }
declare module '*?url' { declare module '*?url' {
const src: string const src: string;
export default src export default src;
} }
declare module '*?inline' { declare module '*?inline' {
const src: string const src: string;
export default src export default src;
} }